mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: fixed disabled option
This commit is contained in:
parent
31ccf10698
commit
c31e6e8ffe
1
ui/jquery.ui.selectmenu.js
vendored
1
ui/jquery.ui.selectmenu.js
vendored
@ -371,6 +371,7 @@ $.widget( "ui.selectmenu", {
|
||||
if ( value ) {
|
||||
this.element.attr( "disabled", "disabled" );
|
||||
this.button.attr( "tabindex", -1 );
|
||||
this.close();
|
||||
} else {
|
||||
this.element.removeAttr( "disabled" );
|
||||
this.button.attr( "tabindex", 0 );
|
||||
|
Loading…
Reference in New Issue
Block a user