From f6330e9fe8cbb4ad6afed6dfb6d443fffd30db47 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Sun, 8 Jun 2008 00:59:41 +0000 Subject: [PATCH] core widget - added explicit disabled: false option --- ui/ui.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5