Author: jleroux
Date: Sun Sep 26 08:42:53 2010
New Revision: 1001390

URL: http://svn.apache.org/viewvc?rev=1001390&view=rev
Log:
.click().change():  needed when using also asmselect on same field else it does 
not take changes into account

Modified:
    
ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js

Modified: 
ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js?rev=1001390&r1=1001389&r2=1001390&view=diff
==============================================================================
--- 
ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js
 (original)
+++ 
ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js
 Sun Sep 26 08:42:53 2010
@@ -64,7 +64,7 @@ function getDependentDropdownValues(requ
                 }
             }
         });
-        jQuery(target).html(optionList);
+        jQuery(target).html(optionList).click().change(); // .change() needed 
when using also asmselect on same field, .click() specifically for IE8
         // Hide/show the dependent dropdown if hide=true else simply 
disable/enable
         if ((list.size() < 1) || ((list.size() == 1) && 
list[0].indexOf("_NA_") >=0)) {
                jQuery(target).attr('disabled', 'disabled');


Reply via email to