initEvents: function() {
// Roo.log('init events?');
// Roo.log(this.el.dom);
+ if (this.el.hasClass('roo-button')) {
+ this.el.on('click', this.onClick, thi
+ } else {
+ this.el.select('.roo-button').on('click', this.onClick, this);
+ }
+
- this.el.on('click', this.onClick, this);
- this.el.on('click', this.onClick, this);
//this.el.select('button',true).on('click', this.onClick, this);