Roo/bootstrap/Input.js
authorEdward <edward@roojs.com>
Fri, 25 Apr 2014 11:02:07 +0000 (19:02 +0800)
committerEdward <edward@roojs.com>
Fri, 25 Apr 2014 11:02:07 +0000 (19:02 +0800)
Roo/bootstrap/Input.js

index 579873f..2459df5 100644 (file)
@@ -738,7 +738,8 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         if(this.inputType != 'checkbox' || this.inputType != 'radio'){
             return;
         }
-        this.fireEvent("check", this);
+        
+        this.setChecked(!this.checked);
     }
 });