Skip to content
Browse files

Selectmenu: fixed disabled option

  • Loading branch information...
1 parent 31ccf10 commit c31e6e8ffe787ea69f7926ecb6319eb9780df0b8 @fnagel fnagel committed Oct 17, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/jquery.ui.selectmenu.js
View
1 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 );

0 comments on commit c31e6e8

Please sign in to comment.
Something went wrong with that request. Please try again.