From 11163d59e200c6d3e2c9139643f3fceb6570c29f Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 20 Aug 2014 16:06:43 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index c20df0d339..6900decd68 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -270,6 +270,10 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { this.el.select('.roo-button').on('click', this.onClick, this); } + if(this.removeClass){ + this.el.on('click', this.onClick, this); + } + this.el.enableDisplayMode(); }, -- 2.39.2