sort out some whitespace

This commit is contained in:
Damien Churchill 2009-06-26 18:40:48 +00:00
parent 790a10e317
commit 1edafe2b6c

View File

@ -752,32 +752,31 @@ Ext.reg('fullprogressbar', Ext.ux.FullProgressBar);
Ext.override(Ext.form.RadioGroup, { Ext.override(Ext.form.RadioGroup, {
afterRender: function() { afterRender: function() {
var that = this; var that = this;
this.items.each(function(i) { this.items.each(function(i) {
that.relayEvents(i, ['check']); that.relayEvents(i, ['check']);
}); });
Ext.form.RadioGroup.superclass.afterRender.call(this)
},
Ext.form.RadioGroup.superclass.afterRender.call(this) getName: function() {
}, return this.items.first().getName();
},
getName: function() { getValue: function() {
return this.items.first().getName();
},
getValue: function() {
var v; var v;
this.items.each(function(item) { this.items.each(function(item) {
v = item.getRawValue(); v = item.getRawValue();
return !item.getValue(); return !item.getValue();
}); });
return v; return v;
}, },
setValue: function(v) { setValue: function(v) {
this.items.each(function(item) { this.items.each(function(item) {
item.setValue((item.getRawValue() === 'true') == v); item.setValue((item.getRawValue() === 'true') == v);
}); });
} }
}); });