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

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

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

jleroux@apache.org
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')) {