Roo/bootstrap/Button.js
[roojs1] / Roo / bootstrap / Button.js
index be11b76..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();
         
     },
@@ -334,7 +338,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
     },
     hide: function() {
        
-        this.el.
+     
         this.el.hide();   
     },
     show: function() {