mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
sort out some whitespace
This commit is contained in:
parent
790a10e317
commit
1edafe2b6c
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user