Author: hfnukal
Date: 2012-06-07 02:54:41 -0400 (Thu, 07 Jun 2012)
New Revision: 8715
Modified:
epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/gadget/UIGadget.js
Log:
Bug 824855 - Strange duplicated requests in gadget rendering
Modified:
epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/gadget/UIGadget.js
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/gadget/UIGadget.js 2012-06-07
06:52:22 UTC (rev 8714)
+++
epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/gadget/UIGadget.js 2012-06-07
06:54:41 UTC (rev 8715)
@@ -71,7 +71,7 @@
if (userPref != null) gadget.userPrefs_ = userPref;
var gadgetBlock = document.getElementById(id);
gadgetBlock.innerHTML = "<div id='gadget_" + gadget.id +
"' class='UIGadgetContent'> </div>";
- gadgets.container.renderGadgets();
+ gadgets.container.renderGadget(gadget);
var uiGadget = eXo.core.DOMUtil.findAncestorByClass(gadgetBlock,
"UIGadget");
//TODO: dang.tung - isn't portlet
if (uiGadget != null) {
@@ -340,4 +340,4 @@
ajaxAsyncGetRequest(eXo.env.server.createPortalURL(containerBlockId,
"SaveGadgetProperties", true, params), false);
}
-}
\ No newline at end of file
+}
Show replies by date