mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-30 15:57:56 -05:00
core widget - added explicit disabled: false option
This commit is contained in:
@@ -116,7 +116,7 @@ $.widget = function(name, prototype) {
|
||||
this.widgetName = name;
|
||||
this.widgetBaseClass = namespace + '-' + name;
|
||||
|
||||
this.options = $.extend({}, $[namespace][name].defaults, options);
|
||||
this.options = $.extend({ disabled: false }, $[namespace][name].defaults, options);
|
||||
this.element = $(element)
|
||||
.bind('setData.' + name, function(e, key, value) {
|
||||
return self.setData(key, value);
|
||||
|
||||
Reference in New Issue
Block a user