svn commit: r1100797 - /ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1100797 - /ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy

erwan
Author: erwan
Date: Sun May  8 19:41:56 2011
New Revision: 1100797

URL: http://svn.apache.org/viewvc?rev=1100797&view=rev
Log:
Missing portalPageId parameter when displaying the calendar

Modified:
    ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy

Modified: ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy?rev=1100797&r1=1100796&r2=1100797&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy (original)
+++ ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy Sun May  8 19:41:56 2011
@@ -66,4 +66,11 @@ if (urlParam) {
     urlParam = "&" + urlParam;
 }
 
+if (parameters.portalPageId) {
+    if (urlParam) {
+        urlParam = urlParam + "&";
+    }
+    urlParam = urlParam + "portalPageId=" + parameters.portalPageId;
+}
+
 context.put("urlParam", urlParam);