Author: trong.tran
Date: 2010-06-03 04:27:47 -0400 (Thu, 03 Jun 2010)
New Revision: 3229
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIFormUploadInput.gtmpl
Log:
GTNPORTAL-1293 The UIFormUploadInput component does not work in the edit mode of a
Portlet
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIFormUploadInput.gtmpl
===================================================================
---
portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIFormUploadInput.gtmpl 2010-06-03
08:01:19 UTC (rev 3228)
+++
portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIFormUploadInput.gtmpl 2010-06-03
08:27:47 UTC (rev 3229)
@@ -3,7 +3,7 @@
boolean isAutoUpload = uicomponent.isAutoUpload();
def rcontext = _ctx.getRequestContext();
rcontext.getJavascriptManager().importJavascript('eXo.webui.UIUpload');
- rcontext.getJavascriptManager().addJavascript("eXo.webui.UIUpload.initUploadEntry('"+uploadId+"',"+isAutoUpload+");");
+ rcontext.getJavascriptManager().addCustomizedOnLoadScript("eXo.webui.UIUpload.initUploadEntry('"+uploadId+"',"+isAutoUpload+");");
%>
<div class="UIFormUploadInput" id="$uploadId">
<div class="LimitMessage" style="display: none;"><%=
_ctx.appRes("UIFormUploadInput.msg.limit"); %></div>
Show replies by date