You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2009/08/01 12:20:28 UTC

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

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;