diff options
author | Felix Nagel <info@felixnagel.com> | 2013-04-29 23:21:17 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-04-29 23:21:17 +0200 |
commit | 70a43607faf3651fec07150e0f4e7b99984835e4 (patch) | |
tree | 896714686f559a848523965c6ab8ab2487a0361c /ui/jquery.ui.selectmenu.js | |
parent | 4c930fd59b9d2985074a3ad2d665f111d9d7d64c (diff) | |
download | jquery-ui-70a43607faf3651fec07150e0f4e7b99984835e4.tar.gz jquery-ui-70a43607faf3651fec07150e0f4e7b99984835e4.zip |
Selectmenu: do not call _getCreateOptions directly
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 99c314f48..aea1b8f0f 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -181,7 +181,7 @@ $.widget( "ui.selectmenu", { this._setAria( item.data( "ui-selectmenu-item" ) ); // Set disabled state - this._setOption( "disabled", this._getCreateOptions().disabled ); + this._setOption( "disabled", !!this.element.attr( "disabled" ) ); }, open: function( event ) { |