diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-09-16 12:54:12 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-09-17 08:47:28 -0400 |
commit | e19d462f16f619dbc56824e00d5c409ccd677f8d (patch) | |
tree | e17de1040a8a689f3724915bd05b186c1af99353 /ui/widgets/selectmenu.js | |
parent | afbcdbe47e46190529b4cf3a50753bae9606425c (diff) | |
download | jquery-ui-e19d462f16f619dbc56824e00d5c409ccd677f8d.tar.gz jquery-ui-e19d462f16f619dbc56824e00d5c409ccd677f8d.zip |
All: Delegate to base `_getCreateOptions()`.
Ensures that any extensions to the base widget will be handled properly by
individual widgets.
Closes gh-1598
Diffstat (limited to 'ui/widgets/selectmenu.js')
-rw-r--r-- | ui/widgets/selectmenu.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/widgets/selectmenu.js b/ui/widgets/selectmenu.js index 273e68594..820e68570 100644 --- a/ui/widgets/selectmenu.js +++ b/ui/widgets/selectmenu.js @@ -646,7 +646,11 @@ return $.widget( "ui.selectmenu", { }, _getCreateOptions: function() { - return { disabled: this.element.prop( "disabled" ) }; + var options = this._super(); + + options.disabled = this.element.prop( "disabled" ); + + return options; }, _parseOptions: function( options ) { |