Chandusangale / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
1 stars 0 forks source link

"disabled" bug in version 0.9 #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in demo page of version 0.9. I get the wrong select text on "#s4" and
"#s5". My browser is IE7 and FF3.5.

So I make follow changes in _syncSelected function:
1.
var allCheckboxes = dropWrapper.find("input:not([disabled])");
change to
var allCheckboxes = dropWrapper.find("input");

2.
allCheckboxes.attr("checked", senderCheckbox.attr("checked"));
change to
dropWrapper.find("input:not([disabled])").attr("checked",
senderCheckbox.attr("checked"));

then it works correctly.

Original issue reported on code.google.com by Michael....@gmail.com on 5 Apr 2010 at 9:09

GoogleCodeExporter commented 9 years ago
Worked like a CHARM!  I thought it was something in my code causing it.  Not 
sure if 
it's browser specific or not, but your code fixes the issue for anyone else 
that 
runs into this problem.  Thank you!

Original comment by patbucha...@gmail.com on 8 Apr 2010 at 9:19

GoogleCodeExporter commented 9 years ago
Version 1.0 should include this fix

Original comment by womohun...@ittrium.com on 14 Sep 2010 at 2:34