/**
* @event click
* When a butotn is pressed
+ * @param {Roo.bootstrap.Button} this
* @param {Roo.EventObject} e
*/
"click" : true,
// Roo.log('init events?');
// Roo.log(this.el.dom);
// add the menu...
-
+ Roo.log('button????');
if (typeof (this.menu) != 'undefined') {
this.menu.parentType = this.xtype;
this.menu.triggerEl = this.el;
return;
}
+
Roo.log('button on click ');
if(this.preventDefault){
e.preventDefault();