Roo/bootstrap/CheckBox.js
authoredward <edward@roojs.com>
Fri, 18 Sep 2015 04:41:14 +0000 (12:41 +0800)
committeredward <edward@roojs.com>
Fri, 18 Sep 2015 04:41:14 +0000 (12:41 +0800)
Roo/bootstrap/CheckBox.js

index 1890b40..66371ed 100644 (file)
@@ -249,7 +249,7 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
             this.inputEl().dom.value = this.inputValue;
             
             if(suppressEvent !== true){
-                this.fireEvent('check', this, true, before);
+                this.fireEvent('check', this, true);
             }
             
             return;
@@ -262,7 +262,7 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
         this.inputEl().dom.value = state ? this.inputValue : this.valueOff;
         
         if(suppressEvent !== true){
-            this.fireEvent('check', this, state, before);
+            this.fireEvent('check', this, state);
         }
     },
     
@@ -308,7 +308,7 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
         });
         
         if(suppressEvent !== true){
-            this.fireEvent('check', this, true, before);
+            this.fireEvent('check', this, true);
         }
 
         return;