PDA

View Full Version : [OPEN] [FIXED-241][3.0r5333] Ext.Button does not apply this.cls



jacombs
11 Sep 2009, 2:04 PM
If you do this:


new Ext.Button({
text: 'whatever',
cls: 'whatever-cls'
});
... 'whatever-cls' is never applied to the element because the Ext.Component render method deletes this.cls.

Thanks,
Jeff

Animal
12 Sep 2009, 10:12 PM
The class is added to the <table> which encapsulates the button element.

evant
13 Sep 2009, 8:09 PM
A fix for this issue has been added into SVN rev 5348.

Please let me know if it solves your issue.

jacombs
14 Sep 2009, 9:10 AM
That fixed it.

Thanks!