Roo/bootstrap/CheckBox.js
authorjohn <john@roojs.com>
Tue, 28 Nov 2017 08:58:33 +0000 (16:58 +0800)
committerjohn <john@roojs.com>
Tue, 28 Nov 2017 08:58:33 +0000 (16:58 +0800)
Roo/bootstrap/CheckBox.js

index c49fdbc..46390ea 100644 (file)
@@ -423,8 +423,8 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
     validateCheckbox : function()
     {
         if(!this.groupId){
-            return (this.getValue() == this.inputValue || this.allowBlank) ? true : false;
-            //return (this.getValue() == this.inputValue) ? true : false;
+            // return (this.getValue() == this.inputValue || this.allowBlank) ? true : false;
+            return (this.getValue() == this.inputValue) ? true : false;
         }
         
         var group = Roo.bootstrap.CheckBox.get(this.groupId);