You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bi...@apache.org on 2008/08/13 18:03:25 UTC

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

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');