aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-06-08 00:59:41 +0000
committerRichard Worth <rdworth@gmail.com>2008-06-08 00:59:41 +0000
commitf6330e9fe8cbb4ad6afed6dfb6d443fffd30db47 (patch)
tree1c2d3a00a87cb12cc71c345cefcfaf240c82cbab
parente23a0edb70755441cd65a5af2bac8d20cb1d16f0 (diff)
downloadjquery-ui-f6330e9fe8cbb4ad6afed6dfb6d443fffd30db47.tar.gz
jquery-ui-f6330e9fe8cbb4ad6afed6dfb6d443fffd30db47.zip
core widget - added explicit disabled: false option
-rw-r--r--ui/ui.core.js2
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);