You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/09/17 23:01:19 UTC

svn commit: r998321 - /ofbiz/trunk/framework/images/webapp/images/getDependentDropdownValues.js

Author: jleroux
Date: Fri Sep 17 21:01:18 2010
New Revision: 998321

URL: http://svn.apache.org/viewvc?rev=998321&view=rev
Log:
Not sure why I have a problem with InputField, I tried another name (inputName) but it's the same. Using arguments[9] is ok though.

Modified:
    ofbiz/trunk/framework/images/webapp/images/getDependentDropdownValues.js

Modified: ofbiz/trunk/framework/images/webapp/images/getDependentDropdownValues.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/getDependentDropdownValues.js?rev=998321&r1=998320&r2=998321&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/getDependentDropdownValues.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/getDependentDropdownValues.js Fri Sep 17 21:01:18 2010
@@ -45,7 +45,7 @@ function getDependentDropdownValues(requ
             // this is to handle a specific case where an input field is needed, uses inputField for the field name
             if (!list) {
 				$(targetField).hide();
-				$(targetField).insert({after: new Element('input', {name : inputField, id : targetField + '_input', size : 3})}); 
+				$(targetField).insert({after: new Element('input', {name : arguments[9], id : targetField + '_input', size : 3})}); 
             	return;
             } else { 
             	if ($(targetField + '_input')) {