fix the config names of some of the fields

This commit is contained in:
Damien Churchill 2009-07-29 16:35:52 +00:00
parent abb05829dc
commit 90789982f7
1 changed files with 9 additions and 9 deletions

View File

@ -23,14 +23,14 @@ Ext.deluge.preferences.Bandwidth = Ext.extend(Ext.form.FormPanel, {
style: 'margin-bottom: 0px; padding-bottom: 0px;', style: 'margin-bottom: 0px; padding-bottom: 0px;',
autoHeight: true autoHeight: true
}); });
optMan.bind('max_connections', fieldset.add({ optMan.bind('max_connections_global', fieldset.add({
name: 'max_connections', name: 'max_connections_global',
fieldLabel: _('Maximum Connections'), fieldLabel: _('Maximum Connections'),
width: 60, width: 60,
value: -1 value: -1
})); }));
optMan.bind('max_upload_slots', fieldset.add({ optMan.bind('max_upload_slots_global', fieldset.add({
name: 'max_upload_slots', name: 'max_upload_slots_global',
fieldLabel: _('Maximum Upload Slots'), fieldLabel: _('Maximum Upload Slots'),
width: 60, width: 60,
value: -1 value: -1
@ -54,7 +54,7 @@ Ext.deluge.preferences.Bandwidth = Ext.extend(Ext.form.FormPanel, {
value: -1 value: -1
})); }));
optMan.bind('max_connections_per_second', fieldset.add({ optMan.bind('max_connections_per_second', fieldset.add({
name: 'max_half_open_connections', name: 'max_connections_per_second',
fieldLabel: _('Maximum Connection Attempts per Second'), fieldLabel: _('Maximum Connection Attempts per Second'),
width: 60, width: 60,
value: -1 value: -1
@ -68,14 +68,14 @@ Ext.deluge.preferences.Bandwidth = Ext.extend(Ext.form.FormPanel, {
style: 'padding-top: 0px; margin-top: 0px; margin-bottom: 0px;', style: 'padding-top: 0px; margin-top: 0px; margin-bottom: 0px;',
autoHeight: true autoHeight: true
}); });
optMan.bind('ignore_local', fieldset.add({ optMan.bind('ignore_limits_on_local_network', fieldset.add({
name: 'ignore_local', name: 'ignore_limits_on_local_network',
fieldLabel: '', fieldLabel: '',
labelSeparator: '', labelSeparator: '',
boxLabel: _('Ignore limits on local network'), boxLabel: _('Ignore limits on local network'),
})); }));
optMan.bind('limit_ip_overhead', fieldset.add({ optMan.bind('rate_limit_ip_overhead', fieldset.add({
name: 'limit_ip_overhead', name: 'rate_limit_ip_overhead',
fieldLabel: '', fieldLabel: '',
labelSeparator: '', labelSeparator: '',
boxLabel: _('Rate limit IP overhead'), boxLabel: _('Rate limit IP overhead'),