From 48892b3b4dde0b5531ab0d924f9fdfb1efc9dfed Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 7 Feb 2014 15:43:50 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index a50fba6bb3..214c791cd4 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -221,8 +221,10 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { initEvents: function() { // Roo.log('init events?'); // Roo.log(this.el.dom); - this.el.select('a',true).on('click', this.onClick, this); - this.el.select('button',true).on('click', this.onClick, this); + + this.el.on('click', this.onClick, this); + + //this.el.select('button',true).on('click', this.onClick, this); }, onClick : function(e) -- 2.39.2