Author: kien_nguyen
Date: 2010-04-21 04:00:35 -0400 (Wed, 21 Apr 2010)
New Revision: 2718
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/webui/UIDashboard.js
Log:
GTNPORTAL-1068 Show wrong Gadget in Dashboard page with one column in the first time
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/webui/UIDashboard.js
===================================================================
---
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/webui/UIDashboard.js 2010-04-21
07:54:02 UTC (rev 2717)
+++
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/webui/UIDashboard.js 2010-04-21
08:00:35 UTC (rev 2718)
@@ -290,7 +290,11 @@
colsContainer.style.width = "100%" ;
eXo.webui.UIDashboard.initHeight(windowId) ;
- setTimeout("eXo.webui.UIDashboard.initDragDrop('" + windowId +
"'," + canEdit + ");", 300) ;
+
+ //Todo: nguyenanhkien2a(a)gmail.com
+ //We set and increase waiting time for initDragDrop function to make sure all UI (tag,
div, iframe, etc)
+ //was loaded and to avoid some potential bugs (ex: GTNPORTAL-1068)
+ setTimeout("eXo.webui.UIDashboard.initDragDrop('" + windowId +
"'," + canEdit + ");", 400) ;
};
UIDashboard.prototype.initDragDrop = function(windowId, canEdit) {
Show replies by date