Roo/bootstrap/RadioSet.js
authorjohn <john@roojs.com>
Wed, 3 Jan 2018 06:34:25 +0000 (14:34 +0800)
committerjohn <john@roojs.com>
Wed, 3 Jan 2018 06:34:25 +0000 (14:34 +0800)
Roo/bootstrap/RadioSet.js

index 9b5c50b..733d766 100644 (file)
@@ -241,6 +241,8 @@ Roo.extend(Roo.bootstrap.RadioSet, Roo.bootstrap.Input,  {
     
     setValue : function(v, suppressEvent)
     {   
+        Roo.bootstrap.RadioSet.superclass.setValue.call(this, v);
+        
         Roo.each(this.radioes, function(i){
             
             i.checked = false;
@@ -256,9 +258,6 @@ Roo.extend(Roo.bootstrap.RadioSet, Roo.bootstrap.Input,  {
             }
             
         }, this);
-        
-        Roo.bootstrap.RadioSet.superclass.setValue.call(this, v);
-        
     },
     
     clearInvalid : function(){