From 70a43607faf3651fec07150e0f4e7b99984835e4 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Mon, 29 Apr 2013 23:21:17 +0200 Subject: [PATCH] Selectmenu: do not call _getCreateOptions directly --- ui/jquery.ui.selectmenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5