SelectAllCheckbox v3.0
-
The select-all checkbox no longer changes the state of disabled checkboxes
-
BREAKING CHANGE: If you are using SelectAllCheckbox in an unusual scenario of ticking the
select-all checkbox via script and then firingchange
to trigger the select-all action,
you'll find that that no longer works. IE has a known bug where it doesn't fire the change
event when an indeterminate checkbox is clicked, meaning that until this release, this
plugin was never fully compatible with IE. To get around the issue, the plugin now listens
for theclick
event on the select-all checkbox instead ofchange
. The other
checkboxes continue to use the change event as they always have. -
The select-all checkbox initializes to the proper state (checked, unchecked, indeterminate)
based on the state of the checkbox group when the plugin is initialized -
Added unit tests