diff options
author | top-flight <baranski@email.uscupstate.edu> | 2011-12-05 18:44:25 -0500 |
---|---|---|
committer | top-flight <baranski@email.uscupstate.edu> | 2011-12-05 18:44:25 -0500 |
commit | eb7afb6ae344009c077ddc26b6bb1e590bee3bd0 (patch) | |
tree | e559adde695ac9d2d813113a68db2956225f649e /js/application.js | |
parent | cef26b6504e1dddb23e510c5fbf53197784cd109 (diff) | |
download | multi-select-eb7afb6ae344009c077ddc26b6bb1e590bee3bd0.zip multi-select-eb7afb6ae344009c077ddc26b6bb1e590bee3bd0.tar.gz multi-select-eb7afb6ae344009c077ddc26b6bb1e590bee3bd0.tar.bz2 |
select all bug fixes - when the select all example loads make sure all optgroups are collapsed like the first optgroup example. When 'select all' option is pressed and optgroups are collapsed, make sure the label is removed from the 'selectable' list.
Diffstat (limited to 'js/application.js')
-rw-r--r-- | js/application.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/application.js b/js/application.js index fb9b7ec..173626a 100644 --- a/js/application.js +++ b/js/application.js @@ -2,7 +2,7 @@ $(function(){ $('.multiselect').multiSelect({}); - $('#ms-optgroup .ms-selectable').find('li.ms-elem-selectable').hide(); + $('#ms-optgroup .ms-selectable, #ms-outsideCountries .ms-selectable').find('li.ms-elem-selectable').hide(); $('.ms-optgroup-label').click(function(){ if ($(this).hasClass('collapse')){ $(this).nextAll('li').hide(); |