X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FButton.js;h=6900decd68cb71738ce0ff69f3ad8ec429568440;hb=11163d59e200c6d3e2c9139643f3fceb6570c29f;hp=c20df0d3392309733049ce1429b99413e9d95355;hpb=7b0e70764c6b68a1f7f8c35a81db23e0140a7e54;p=roojs1 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(); },