diff options
author | Felix Nagel <info@felixnagel.com> | 2012-07-20 23:06:58 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-07-20 23:06:58 +0200 |
commit | 690fcb3c47037df49eccaed6f87293e9abe3abec (patch) | |
tree | 4cd246ba4788ca29380229f7da54dc7527a9868f /ui/jquery.ui.selectmenu.js | |
parent | c67774fe6ea7a7cffcec0acec2bedc070a3812d3 (diff) | |
download | jquery-ui-690fcb3c47037df49eccaed6f87293e9abe3abec.tar.gz jquery-ui-690fcb3c47037df49eccaed6f87293e9abe3abec.zip |
fixed: its now possible to have a disabled and selected option on init, see #234
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 7b6e4e7cf..527d40eae 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -436,7 +436,7 @@ $.widget("ui.selectmenu", { } // update value - this.index( this._selectedIndex() ); + this._refreshValue(); // set selected item so movefocus has intial state this._selectedOptionLi().addClass(this.widgetBaseClass + '-item-focus'); |