Fix for my previous commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685596 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bilgin Ismet Ibryam
2008-08-13 16:03:24 +00:00
parent 67eecf7569
commit 33ec31a8f4
@@ -150,9 +150,11 @@ ${virtualJavaScript?if_exists}
// 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');