PDA

View Full Version : [FIXED]enable() method on button bug?



gevik
16 Feb 2011, 11:48 PM
The enable method on button is not working.



var b = Ext.widget('button',{
text:'click me',
renderTo:Ext.getBody(),
});

dis = function(c) { c.disable() };
enb = function(c) { c.enable() };

//dis(b); // ok
enb(b); // not ok

evant
19 Feb 2011, 4:16 AM
This has been resolved.

gevik
19 Feb 2011, 4:20 AM
Thanks