diff options
Diffstat (limited to 'js/jquery.multi-select.js')
-rw-r--r-- | js/jquery.multi-select.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/jquery.multi-select.js b/js/jquery.multi-select.js index 1ac180b..1d464e1 100644 --- a/js/jquery.multi-select.js +++ b/js/jquery.multi-select.js @@ -150,6 +150,9 @@ if (ms.find("option[value='']")){ ms.find("option[value='']").removeAttr('selected'); } + if (method == "select_all" && parentOptgroup.children('.ms-elem-selectable').length > 0){ + parentOptgroup.children('.ms-optgroup-label').hide(); + } if(method != 'init' || ms.data('settings').callbackOnInit){ selectedUl.trigger('change'); selectableUl.trigger('change'); |