fixing defaults/options for enhanced widgets

This commit is contained in:
Rolux 2010-02-20 15:31:32 +05:30
parent f6c45c98bd
commit 7d06eb448b

View File

@ -871,7 +871,7 @@ requires
that.defaults({foo: x}) sets self.defaults that.defaults({foo: x}) sets self.defaults
*/ */
self.defaults = defaults; self.defaults = defaults;
delete self.options; // fixme: hackish fix for that = OxFoo({}, self).defaults({...}).options({...}) delete self.options; // fixme: hackish fix for that = Ox.Foo({...}, self).defaults({...}).options({...})
return that; return that;
}; };
that.gainFocus = function() { that.gainFocus = function() {