Roo/bootstrap/CheckBox.js
authorjohn <john@roojs.com>
Tue, 31 Oct 2017 09:09:18 +0000 (17:09 +0800)
committerjohn <john@roojs.com>
Tue, 31 Oct 2017 09:09:18 +0000 (17:09 +0800)
Roo/bootstrap/CheckBox.js

index 60e14ff..f7fd726 100644 (file)
@@ -365,6 +365,7 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
                 (this.inputType == 'checkbox' && this.validateCheckbox())
         ){
             this.markValid();
+            Roo.log('what is marked'+this.name);
             return true;
         }
         
@@ -492,9 +493,9 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
             label.markInvalid();
         }
         
-        Roo.log('so there is no input type for radio?');
-        Roo.log(this.xtype);
-        Roo.log($this.name);
+        // Roo.log('so there is no input type for radio?');
+        // Roo.log(this.xtype);
+        // Roo.log(this.name);
             
         if(this.inputType == 'radio'){
             Roo.each(this.el.up('form').select('input[name='+this.name+']', true).elements, function(e){