summaryrefslogtreecommitdiffstats
path: root/jquery.multiple.select.js
diff options
context:
space:
mode:
authorzhixin <wenzhixin2010@gmail.com>2014-03-22 23:54:24 +0800
committerzhixin <wenzhixin2010@gmail.com>2014-03-22 23:54:24 +0800
commit4d22a396adc8e8abb323e938ef689cdeda927af7 (patch)
tree7ec9ad65c25ae9a1373c5c08486fdba209d5fd1e /jquery.multiple.select.js
parentfdca56006b324b09d3c6cd041b16856774b671ea (diff)
downloadmultiple-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.js1
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();
}
});