mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +00:00
remove all the trailing commas as ie doesn't like them
This commit is contained in:
parent
2417e8537b
commit
7f1dadf3cd
11 changed files with 25 additions and 26 deletions
|
@ -62,7 +62,7 @@ Deluge.LoginWindow = Ext.extend(Ext.Window, {
|
||||||
labelWidth: 55,
|
labelWidth: 55,
|
||||||
width: 300,
|
width: 300,
|
||||||
defaults: {width: 200},
|
defaults: {width: 200},
|
||||||
defaultType: 'textfield',
|
defaultType: 'textfield'
|
||||||
});
|
});
|
||||||
|
|
||||||
this.passwordField = this.form.add({
|
this.passwordField = this.form.add({
|
||||||
|
|
|
@ -126,7 +126,7 @@ Deluge.add.OptionsPanel = Ext.extend(Ext.TabPanel, {
|
||||||
inputValue: true,
|
inputValue: true,
|
||||||
boxLabel: _('Compact'),
|
boxLabel: _('Compact'),
|
||||||
fieldLabel: '',
|
fieldLabel: '',
|
||||||
labelSeparator: '',
|
labelSeparator: ''
|
||||||
}]
|
}]
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
@ -173,13 +173,13 @@ Deluge.add.OptionsPanel = Ext.extend(Ext.TabPanel, {
|
||||||
name: 'add_paused',
|
name: 'add_paused',
|
||||||
boxLabel: _('Add In Paused State'),
|
boxLabel: _('Add In Paused State'),
|
||||||
fieldLabel: '',
|
fieldLabel: '',
|
||||||
labelSeparator: '',
|
labelSeparator: ''
|
||||||
}));
|
}));
|
||||||
this.optionsManager.bind('prioritize_first_last_pieces', fieldset.add({
|
this.optionsManager.bind('prioritize_first_last_pieces', fieldset.add({
|
||||||
name: 'prioritize_first_last_pieces',
|
name: 'prioritize_first_last_pieces',
|
||||||
boxLabel: _('Prioritize First/Last Pieces'),
|
boxLabel: _('Prioritize First/Last Pieces'),
|
||||||
fieldLabel: '',
|
fieldLabel: '',
|
||||||
labelSeparator: '',
|
labelSeparator: ''
|
||||||
}));
|
}));
|
||||||
|
|
||||||
this.form.on('render', this.onFormRender, this);
|
this.form.on('render', this.onFormRender, this);
|
||||||
|
|
|
@ -56,8 +56,7 @@
|
||||||
store: new Ext.data.Store({
|
store: new Ext.data.Store({
|
||||||
reader: new Ext.data.JsonReader({
|
reader: new Ext.data.JsonReader({
|
||||||
idProperty: 'ip',
|
idProperty: 'ip',
|
||||||
root: 'peers',
|
root: 'peers'
|
||||||
|
|
||||||
}, Deluge.data.Peer)
|
}, Deluge.data.Peer)
|
||||||
}),
|
}),
|
||||||
columns: [{
|
columns: [{
|
||||||
|
|
|
@ -145,14 +145,14 @@ Deluge.preferences.Bandwidth = Ext.extend(Ext.form.FormPanel, {
|
||||||
height: 22,
|
height: 22,
|
||||||
fieldLabel: '',
|
fieldLabel: '',
|
||||||
labelSeparator: '',
|
labelSeparator: '',
|
||||||
boxLabel: _('Ignore limits on local network'),
|
boxLabel: _('Ignore limits on local network')
|
||||||
}));
|
}));
|
||||||
optMan.bind('rate_limit_ip_overhead', fieldset.add({
|
optMan.bind('rate_limit_ip_overhead', fieldset.add({
|
||||||
name: 'rate_limit_ip_overhead',
|
name: 'rate_limit_ip_overhead',
|
||||||
height: 22,
|
height: 22,
|
||||||
fieldLabel: '',
|
fieldLabel: '',
|
||||||
labelSeparator: '',
|
labelSeparator: '',
|
||||||
boxLabel: _('Rate limit IP overhead'),
|
boxLabel: _('Rate limit IP overhead')
|
||||||
}));
|
}));
|
||||||
|
|
||||||
fieldset = this.add({
|
fieldset = this.add({
|
||||||
|
|
|
@ -68,7 +68,7 @@ Deluge.preferences.Cache = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}));
|
}));
|
||||||
optMan.bind('cache_expiry', fieldset.add({
|
optMan.bind('cache_expiry', fieldset.add({
|
||||||
fieldLabel: _('Cache Expiry (seconds)'),
|
fieldLabel: _('Cache Expiry (seconds)'),
|
||||||
|
@ -80,7 +80,7 @@ Deluge.preferences.Cache = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -66,7 +66,7 @@ Deluge.preferences.Daemon = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
fieldset = this.add({
|
fieldset = this.add({
|
||||||
|
|
|
@ -102,7 +102,7 @@ Deluge.preferences.Downloads = Ext.extend(Ext.FormPanel, {
|
||||||
labelWidth: 1,
|
labelWidth: 1,
|
||||||
defaultType: 'radiogroup',
|
defaultType: 'radiogroup',
|
||||||
style: 'margin-bottom: 5px; margin-top: 0; padding-bottom: 5px; padding-top: 0;',
|
style: 'margin-bottom: 5px; margin-top: 0; padding-bottom: 5px; padding-top: 0;',
|
||||||
width: 240,
|
width: 240
|
||||||
});
|
});
|
||||||
optMan.bind('compact_allocation', fieldset.add({
|
optMan.bind('compact_allocation', fieldset.add({
|
||||||
name: 'compact_allocation',
|
name: 'compact_allocation',
|
||||||
|
|
|
@ -136,7 +136,7 @@ Deluge.preferences.Interface = Ext.extend(Ext.form.FormPanel, {
|
||||||
labelWidth: 110,
|
labelWidth: 110,
|
||||||
defaultType: 'spinnerfield',
|
defaultType: 'spinnerfield',
|
||||||
defaults: {
|
defaults: {
|
||||||
width: 80,
|
width: 80
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
optMan.bind('session_timeout', fieldset.add({
|
optMan.bind('session_timeout', fieldset.add({
|
||||||
|
|
|
@ -86,7 +86,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}, {
|
}, {
|
||||||
fieldLabel: 'To',
|
fieldLabel: 'To',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
@ -95,7 +95,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
optMan.bind('listen_ports', this.listenPorts);
|
optMan.bind('listen_ports', this.listenPorts);
|
||||||
|
@ -140,7 +140,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}, {
|
}, {
|
||||||
fieldLabel: 'To',
|
fieldLabel: 'To',
|
||||||
strategy: {
|
strategy: {
|
||||||
|
@ -148,7 +148,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
optMan.bind('outgoing_ports', this.outgoingPorts);
|
optMan.bind('outgoing_ports', this.outgoingPorts);
|
||||||
|
|
|
@ -62,7 +62,7 @@ Deluge.preferences.ProxyField = Ext.extend(Ext.form.FieldSet, {
|
||||||
[2, _('Socksv5')],
|
[2, _('Socksv5')],
|
||||||
[3, _('Socksv5 with Auth')],
|
[3, _('Socksv5 with Auth')],
|
||||||
[4, _('HTTP')],
|
[4, _('HTTP')],
|
||||||
[5, _('HTTP with Auth')],
|
[5, _('HTTP with Auth')]
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
value: 0,
|
value: 0,
|
||||||
|
|
|
@ -74,7 +74,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
|
||||||
autoHeight: true,
|
autoHeight: true,
|
||||||
labelWidth: 150,
|
labelWidth: 150,
|
||||||
defaultType: 'spinnerfield',
|
defaultType: 'spinnerfield',
|
||||||
style: 'margin-bottom: 0px; padding-bottom: 0px;',
|
style: 'margin-bottom: 0px; padding-bottom: 0px;'
|
||||||
});
|
});
|
||||||
optMan.bind('max_active_limit', fieldset.add({
|
optMan.bind('max_active_limit', fieldset.add({
|
||||||
fieldLabel: _('Total Active'),
|
fieldLabel: _('Total Active'),
|
||||||
|
@ -86,7 +86,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}));
|
}));
|
||||||
optMan.bind('max_active_downloading', fieldset.add({
|
optMan.bind('max_active_downloading', fieldset.add({
|
||||||
fieldLabel: _('Total Active Downloading'),
|
fieldLabel: _('Total Active Downloading'),
|
||||||
|
@ -98,7 +98,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}));
|
}));
|
||||||
optMan.bind('max_active_seeding', fieldset.add({
|
optMan.bind('max_active_seeding', fieldset.add({
|
||||||
fieldLabel: _('Total Active Seeding'),
|
fieldLabel: _('Total Active Seeding'),
|
||||||
|
@ -110,7 +110,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}));
|
}));
|
||||||
optMan.bind('dont_count_slow_torrents', fieldset.add({
|
optMan.bind('dont_count_slow_torrents', fieldset.add({
|
||||||
xtype: 'checkbox',
|
xtype: 'checkbox',
|
||||||
|
@ -127,7 +127,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
|
||||||
autoHeight: true,
|
autoHeight: true,
|
||||||
labelWidth: 150,
|
labelWidth: 150,
|
||||||
defaultType: 'spinnerfield',
|
defaultType: 'spinnerfield',
|
||||||
style: 'margin-bottom: 0px; padding-bottom: 0px; margin-top: 0; padding-top: 0;',
|
style: 'margin-bottom: 0px; padding-bottom: 0px; margin-top: 0; padding-top: 0;'
|
||||||
});
|
});
|
||||||
optMan.bind('share_ratio_limit', fieldset.add({
|
optMan.bind('share_ratio_limit', fieldset.add({
|
||||||
fieldLabel: _('Share Ratio Limit'),
|
fieldLabel: _('Share Ratio Limit'),
|
||||||
|
@ -139,7 +139,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}));
|
}));
|
||||||
optMan.bind('seed_time_ratio_limit', fieldset.add({
|
optMan.bind('seed_time_ratio_limit', fieldset.add({
|
||||||
fieldLabel: _('Share Time Ratio'),
|
fieldLabel: _('Share Time Ratio'),
|
||||||
|
@ -151,7 +151,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}));
|
}));
|
||||||
optMan.bind('seed_time_limit', fieldset.add({
|
optMan.bind('seed_time_limit', fieldset.add({
|
||||||
fieldLabel: _('Seed Time (m)'),
|
fieldLabel: _('Seed Time (m)'),
|
||||||
|
@ -163,7 +163,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
|
||||||
decimalPrecision: 0,
|
decimalPrecision: 0,
|
||||||
minValue: -1,
|
minValue: -1,
|
||||||
maxValue: 99999
|
maxValue: 99999
|
||||||
},
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
fieldset = this.add({
|
fieldset = this.add({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue