Roo/bootstrap/CheckBox.js
authorjohn <john@roojs.com>
Tue, 31 Oct 2017 08:35:43 +0000 (16:35 +0800)
committerjohn <john@roojs.com>
Tue, 31 Oct 2017 08:35:43 +0000 (16:35 +0800)
Roo/bootstrap/CheckBox.js

index 9e7084a..7c7c26d 100644 (file)
@@ -447,11 +447,6 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
                 e.findParent('.form-group', false, true).addClass(_this.validClass);
             });
             
-            Roo.each(this.el.up('form').select('label[for='+this.name+']', true).elements, function(e){
-                e.removeClass([_this.invalidClass, _this.validClass]);
-                e.addClass(_this.validClass);
-            });
-            
             return;
         }