Author: vdegtyarev
Date: Mon Jun 30 03:37:47 2014
New Revision: 1606621
URL: http://svn.apache.org/r1606621
Log:
OPENMEETINGS-1031 is fixed. The "new folder" button displays on the same place
always.
Modified:
openmeetings/branches/3.0.x/WebContent/src/modules/conference/tabcontent/fileexplorer/treeitems/baseFileExplorerItem.lzx
Modified:
openmeetings/branches/3.0.x/WebContent/src/modules/conference/tabcontent/fileexplorer/treeitems/baseFileExplorerItem.lzx
URL:
http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/modules/conference/tabcontent/fileexplorer/treeitems/baseFileExplorerItem.lzx?rev=1606621&r1=1606620&r2=1606621&view=diff
==============================================================================
---
openmeetings/branches/3.0.x/WebContent/src/modules/conference/tabcontent/fileexplorer/treeitems/baseFileExplorerItem.lzx
(original)
+++
openmeetings/branches/3.0.x/WebContent/src/modules/conference/tabcontent/fileexplorer/treeitems/baseFileExplorerItem.lzx
Mon Jun 30 03:37:47 2014
@@ -290,6 +290,12 @@
if (tWidth < 160) {
tWidth = 160;
}
+ var _y = this._fileName.getAttributeRelative("y",canvas);
+ var _x = this._fileName.getAttributeRelative("x",canvas);
+ if (isNew) {
+ _y = 65;
+ _x += 10;
+ }
var t = new lz.dynamicFileName(canvas,{
parentFileExplorerItemId:fileExplorerItemId,
@@ -298,8 +304,8 @@
text:this.fileName,
isNew:isNew, //false means its a renaming
refObj:this,width:tWidth+10,
- x:this._fileName.getAttributeRelative("x",canvas),
- y:this._fileName.getAttributeRelative("y",canvas)
+ x:_x,
+ y:_y
});
lz.Focus.setFocus(t,true);