roojs-ui.js
[roojs1] / Roo / form / Radio.js
index c2bc62d..0b4148d 100644 (file)
@@ -76,20 +76,15 @@ Roo.extend(Roo.form.Radio, Roo.form.Checkbox, {
         //    this.el.dom.defaultChecked = this.checked;
         //}
         this.setChecked(String(v) === String(this.inputValue), suppressEvent);
-        this.inSetChecked = true;
+        
         this.el.dom.form[this.name] = v;
-        this.inSetChecked = false;
+     
         //this.fireEvent("check", this, this.checked);
     },
     // private..
     setChecked : function(state,suppressEvent)
     {
-        if (this.inSetChecked) {
-            this.checked = state;
-            return;
-        }
-        
-    
+         
         if(this.wrap){
             this.wrap[state ? 'addClass' : 'removeClass']('x-menu-item-checked');
         }