svn commit: r918053 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Product.groovy

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

svn commit: r918053 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Product.groovy

ashish-18
Author: ashish
Date: Tue Mar  2 14:28:15 2010
New Revision: 918053

URL: http://svn.apache.org/viewvc?rev=918053&view=rev
Log:
Making code more verbose. Reported by Adam but it would work without fetching value from context.
Anyway we are fine from either option.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Product.groovy

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Product.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Product.groovy?rev=918053&r1=918052&r2=918053&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Product.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Product.groovy Tue Mar  2 14:28:15 2010
@@ -94,7 +94,7 @@
 
         // Set the default template for aggregated product (product component configurator ui)
         if (product.productTypeId && "AGGREGATED".equals(product.productTypeId) && context.configproductdetailScreen) {
-            detailScreen = configproductdetailScreen;
+            detailScreen = context.configproductdetailScreen;
         }
 
         productTemplate = product.detailScreen;