From: Alan Knowles Date: Fri, 7 Feb 2014 07:47:43 +0000 (+0800) Subject: Roo/bootstrap/Button.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=251f152d8a5b0ecfa9d16b1b6f9dbac9c62a9868;p=roojs1 Roo/bootstrap/Button.js --- diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index fa7e149ff6..0f22e36077 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -224,14 +224,12 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { // Roo.log('init events?'); // Roo.log(this.el.dom); if (this.el.hasClass('roo-button')) { - this.el.on('click', this.onClick, thi + this.el.on('click', this.onClick, this); } else { this.el.select('.roo-button').on('click', this.onClick, this); } - - //this.el.select('button',true).on('click', this.onClick, this); }, onClick : function(e)