Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Wed, 20 Aug 2014 08:06:43 +0000 (16:06 +0800)
committerEdward <edward@roojs.com>
Wed, 20 Aug 2014 08:06:43 +0000 (16:06 +0800)
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();
         
     },