From 251f152d8a5b0ecfa9d16b1b6f9dbac9c62a9868 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 7 Feb 2014 15:47:43 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) -- 2.39.2