Skip to content
Permalink
Browse files

core widget - added explicit disabled: false option

  • Loading branch information
rdworth committed Jun 8, 2008
1 parent e23a0ed commit f6330e9fe8cbb4ad6afed6dfb6d443fffd30db47
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit f6330e9

Please sign in to comment.
You can’t perform that action at this time.