Roo/bootstrap/CheckBox.js
authoredward <edward@roojs.com>
Fri, 25 Aug 2017 05:59:18 +0000 (13:59 +0800)
committeredward <edward@roojs.com>
Fri, 25 Aug 2017 05:59:18 +0000 (13:59 +0800)
Roo/bootstrap/CheckBox.js

index f932486..11f8ccd 100644 (file)
@@ -494,12 +494,12 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
     disable : function()
     {
         if(this.inputType != 'radio'){
-            
+            Roo.bootstrap.CheckBox.superclass.disable.call(this);
+            return;
         }
         
-        if(this.rendered){
-            this.onDisable();
-        }
+        
+        
         this.disabled = true;
         this.fireEvent("disable", this);
         return this;