fixing defaults/options for enhanced widgets

This commit is contained in:
Rolux 2010-02-20 15:31:32 +05:30
parent ef8c8eed37
commit 5bbd1aee9b

View file

@ -871,7 +871,7 @@ requires
that.defaults({foo: x}) sets self.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;
};
that.gainFocus = function() {