Revision 28595e29
Added by Joseph Magen over 10 years ago
vendor/assets/javascripts/jquery.multi-select.js | ||
---|---|---|
that.$selectionUl.find('.ms-optgroup-label').hide();
|
||
|
||
if ($(this).prop('disabled') || ms.prop('disabled')){
|
||
selectableLi.prop('disabled', true);
|
||
selectableLi.addClass(that.options.disabledClass);
|
||
if (this.selected) {
|
||
selectedLi.prop('disabled', true);
|
||
selectedLi.addClass(that.options.disabledClass);
|
||
} else {
|
||
selectableLi.prop('disabled', true);
|
||
selectableLi.addClass(that.options.disabledClass);
|
||
}
|
||
}
|
||
|
||
if (optgroupId){
|
Also available in: Unified diff
fixes #3911 - jquery.multi-select.js should disable selected ids that are passed to :disabled =>