svn commit: r685596 - /ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl

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

svn commit: r685596 - /ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl

bibryam
Author: bibryam
Date: Wed Aug 13 09:03:24 2008
New Revision: 685596

URL: http://svn.apache.org/viewvc?rev=685596&view=rev
Log:
Fix for my previous commit.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl?rev=685596&r1=685595&r2=685596&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productdetail.ftl Wed Aug 13 09:03:24 2008
@@ -150,9 +150,11 @@
             // eval the next list if there are more
             var selectedValue = document.forms["addform"].elements[name].options[(index*1)+1].value;
             if (index == -1) {
+              <#if featureOrderFirst?exists>
                 var Variable1 = eval("list" + "${featureOrderFirst}" + "()");
+              </#if>  
             } else {
-                eval("list" + OPT[(currentFeatureIndex+1)] + selectedValue + "()");
+                var Variable1 = eval("list" + OPT[(currentFeatureIndex+1)] + selectedValue + "()");
             }
             // set the product ID to NULL to trigger the alerts
             setAddProductId('NULL');