fix a bug in the radio group setValue when the buttons haven't been rendered yet

This commit is contained in:
Damien Churchill 2009-07-12 23:23:05 +00:00
parent 9762853d32
commit 3b810f5ce3

View File

@ -775,6 +775,7 @@ Ext.override(Ext.form.RadioGroup, {
}, },
setValue: function(v) { setValue: function(v) {
if (!this.items.each) return;
this.items.each(function(item) { this.items.each(function(item) {
item.setValue((item.getRawValue() === 'true') == v); item.setValue((item.getRawValue() === 'true') == v);
}); });