From: Edward Date: Wed, 20 Aug 2014 08:06:43 +0000 (+0800) Subject: Roo/bootstrap/Button.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=11163d59e200c6d3e2c9139643f3fceb6570c29f Roo/bootstrap/Button.js --- 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(); },