svn commit: r799823 - /ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy

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

svn commit: r799823 - /ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy

mor-2
Author: mor
Date: Sat Aug  1 10:20:28 2009
New Revision: 799823

URL: http://svn.apache.org/viewvc?rev=799823&view=rev
Log:
Minor improvements in the script.

Modified:
    ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy

Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy?rev=799823&r1=799822&r2=799823&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy Sat Aug  1 10:20:28 2009
@@ -32,7 +32,10 @@
 
 showWarningForm = parameters.showWarningForm;
 if (!showWarningForm) {
-    showWarningForm = false;
+    showWarningForm = request.getAttribute("showWarningForm");
+    if (!showWarningForm) {
+        showWarningForm = false;
+    }
 }
 context.showWarningForm = showWarningForm;