svn commit: r1124409 - /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: r1124409 - /ofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/CreateUrlParam.groovy

erwan
Author: erwan
Date: Wed May 18 20:33:49 2011
New Revision: 1124409

URL: http://svn.apache.org/viewvc?rev=1124409&view=rev
Log:
Wrong commit @ r1100797, misplaced instruction

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=1124409&r1=1124408&r2=1124409&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 Wed May 18 20:33:49 2011
@@ -62,10 +62,6 @@ if (hideEvents) {
     urlParam = urlParam + "hideEvents=" + hideEvents;
 }
 
-if (urlParam) {
-    urlParam = "&" + urlParam;
-}
-
 if (parameters.portalPageId) {
     if (urlParam) {
         urlParam = urlParam + "&";
@@ -73,4 +69,8 @@ if (parameters.portalPageId) {
     urlParam = urlParam + "portalPageId=" + parameters.portalPageId;
 }
 
+if (urlParam) {
+    urlParam = "&" + urlParam;
+}
+
 context.put("urlParam", urlParam);