Author: phuong_vu
Date: 2011-12-01 05:50:54 -0500 (Thu, 01 Dec 2011)
New Revision: 8185
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIPortalApplication.gtmpl
Log:
GTNPORTAL-2297 eXo Javascript is conflicting with some JQuery extensions
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIPortalApplication.gtmpl
===================================================================
---
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIPortalApplication.gtmpl 2011-12-01
10:33:02 UTC (rev 8184)
+++
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIPortalApplication.gtmpl 2011-12-01
10:50:54 UTC (rev 8185)
@@ -47,13 +47,7 @@
%>
<link id="${portletSkin.id}" rel="stylesheet"
type="text/css" href= "$url" />
<%}%>
- <script type="text/javascript">
- // This variable must be used only to initialize other variables otherwise
- // please use eXo.env.portal.context or eXo.env.portal.context instead
- // Those 2 last variables cannot be used to initialize variables because
- // we cannot be sure that they will be initialized before initializing your script
- var currentContext = '<%=docBase%>' ;
- </script>
+
<%if(org.exoplatform.commons.utils.PropertyManager.isDevelopping()) {
for(path in scriptsPaths) { %>
<script type="text/javascript"
src="<%=path%>"></script>
Show replies by date