diff options
author | Richard Worth <rdworth@gmail.com> | 2008-06-08 00:59:41 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-06-08 00:59:41 +0000 |
commit | f6330e9fe8cbb4ad6afed6dfb6d443fffd30db47 (patch) | |
tree | 1c2d3a00a87cb12cc71c345cefcfaf240c82cbab | |
parent | e23a0edb70755441cd65a5af2bac8d20cb1d16f0 (diff) | |
download | jquery-ui-f6330e9fe8cbb4ad6afed6dfb6d443fffd30db47.tar.gz jquery-ui-f6330e9fe8cbb4ad6afed6dfb6d443fffd30db47.zip |
core widget - added explicit disabled: false option
-rw-r--r-- | ui/ui.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index d033a8cc0..b32d29305 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -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); |