Roo/bootstrap/CheckBox.js
authoredward <edward@roojs.com>
Fri, 18 Sep 2015 03:25:03 +0000 (11:25 +0800)
committeredward <edward@roojs.com>
Fri, 18 Sep 2015 03:25:03 +0000 (11:25 +0800)
Roo/bootstrap/CheckBox.js

index d2bdee0..3174a1c 100644 (file)
@@ -245,12 +245,12 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
             
             this.inputEl().dom.checked = true;
             
+            this.inputEl().dom.value = this.inputValue;
+            
             if(suppressEvent !== true){
                 this.fireEvent('check', this, true);
             }
             
-            this.inputEl().dom.value = this.inputValue;
-            
             return;
         }