diff options
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 99068d04b..3090edd05 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -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 ); |