Author: hfnukal
Date: 2012-06-15 05:05:23 -0400 (Fri, 15 Jun 2012)
New Revision: 8722
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/dashboard/src/main/webapp/groovy/gadget/webui/component/UIGadgetViewMode.gtmpl
Log:
Bug 824860 - Error while rendering doodle gadget when source is dead
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/dashboard/src/main/webapp/groovy/gadget/webui/component/UIGadgetViewMode.gtmpl
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/portlet/dashboard/src/main/webapp/groovy/gadget/webui/component/UIGadgetViewMode.gtmpl 2012-06-14
11:51:09 UTC (rev 8721)
+++
epp/portal/branches/EPP_5_2_Branch/portlet/dashboard/src/main/webapp/groovy/gadget/webui/component/UIGadgetViewMode.gtmpl 2012-06-15
09:05:23 UTC (rev 8722)
@@ -11,7 +11,7 @@
def url = uicomponent.getParent().getUrl();
if(url != null) {
- def metadata = uicomponent.getParent().getMetadata(url);
+ def metadata = uicomponent.getParent().getMetadata();
def userPref = uicomponent.getParent().getUserPref();
JavascriptManager jsmanager = rcontext.getJavascriptManager();
jsmanager.importJavascript("eXo.gadget.UIGadget") ;
@@ -19,4 +19,4 @@
}
%>
-<div class="UIGadgetViewMode" id="$id" style="height:
auto;"></div>
+<div class="UIGadgetViewMode" id="$id" style="height:
auto;"></div>