diff options
author | zhixin <wenzhixin2010@gmail.com> | 2014-03-22 23:54:24 +0800 |
---|---|---|
committer | zhixin <wenzhixin2010@gmail.com> | 2014-03-22 23:54:24 +0800 |
commit | 4d22a396adc8e8abb323e938ef689cdeda927af7 (patch) | |
tree | 7ec9ad65c25ae9a1373c5c08486fdba209d5fd1e /jquery.multiple.select.js | |
parent | fdca56006b324b09d3c6cd041b16856774b671ea (diff) | |
download | multiple-select-4d22a396adc8e8abb323e938ef689cdeda927af7.zip multiple-select-4d22a396adc8e8abb323e938ef689cdeda927af7.tar.gz multiple-select-4d22a396adc8e8abb323e938ef689cdeda927af7.tar.bz2 |
Fix #31: trigger the onCheckAll & onUncheckAll events when use filter to Select All.
Diffstat (limited to 'jquery.multiple.select.js')
-rw-r--r-- | jquery.multiple.select.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js index 75980a7..c7632b1 100644 --- a/jquery.multiple.select.js +++ b/jquery.multiple.select.js @@ -161,6 +161,7 @@ } else { // when the filter option is true that.$selectGroups.prop('checked', checked); $items.prop('checked', checked); + that.options[checked ? 'onCheckAll' : 'onUncheckAll'](); that.update(); } }); |