Roo/bootstrap/Button.js
[roojs1] / Roo / bootstrap / Button.js
index c20df0d..6900dec 100644 (file)
@@ -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();
         
     },