remove all the trailing commas as ie doesn't like them

This commit is contained in:
Damien Churchill 2010-03-31 17:19:18 +01:00
parent 2417e8537b
commit 7f1dadf3cd
11 changed files with 25 additions and 26 deletions

View File

@ -62,7 +62,7 @@ Deluge.LoginWindow = Ext.extend(Ext.Window, {
labelWidth: 55,
width: 300,
defaults: {width: 200},
defaultType: 'textfield',
defaultType: 'textfield'
});
this.passwordField = this.form.add({

View File

@ -126,7 +126,7 @@ Deluge.add.OptionsPanel = Ext.extend(Ext.TabPanel, {
inputValue: true,
boxLabel: _('Compact'),
fieldLabel: '',
labelSeparator: '',
labelSeparator: ''
}]
}));
@ -173,13 +173,13 @@ Deluge.add.OptionsPanel = Ext.extend(Ext.TabPanel, {
name: 'add_paused',
boxLabel: _('Add In Paused State'),
fieldLabel: '',
labelSeparator: '',
labelSeparator: ''
}));
this.optionsManager.bind('prioritize_first_last_pieces', fieldset.add({
name: 'prioritize_first_last_pieces',
boxLabel: _('Prioritize First/Last Pieces'),
fieldLabel: '',
labelSeparator: '',
labelSeparator: ''
}));
this.form.on('render', this.onFormRender, this);

View File

@ -56,8 +56,7 @@
store: new Ext.data.Store({
reader: new Ext.data.JsonReader({
idProperty: 'ip',
root: 'peers',
root: 'peers'
}, Deluge.data.Peer)
}),
columns: [{

View File

@ -145,14 +145,14 @@ Deluge.preferences.Bandwidth = Ext.extend(Ext.form.FormPanel, {
height: 22,
fieldLabel: '',
labelSeparator: '',
boxLabel: _('Ignore limits on local network'),
boxLabel: _('Ignore limits on local network')
}));
optMan.bind('rate_limit_ip_overhead', fieldset.add({
name: 'rate_limit_ip_overhead',
height: 22,
fieldLabel: '',
labelSeparator: '',
boxLabel: _('Rate limit IP overhead'),
boxLabel: _('Rate limit IP overhead')
}));
fieldset = this.add({

View File

@ -68,7 +68,7 @@ Deluge.preferences.Cache = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}));
optMan.bind('cache_expiry', fieldset.add({
fieldLabel: _('Cache Expiry (seconds)'),
@ -80,7 +80,7 @@ Deluge.preferences.Cache = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}));
}
});

View File

@ -66,7 +66,7 @@ Deluge.preferences.Daemon = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}));
fieldset = this.add({

View File

@ -102,7 +102,7 @@ Deluge.preferences.Downloads = Ext.extend(Ext.FormPanel, {
labelWidth: 1,
defaultType: 'radiogroup',
style: 'margin-bottom: 5px; margin-top: 0; padding-bottom: 5px; padding-top: 0;',
width: 240,
width: 240
});
optMan.bind('compact_allocation', fieldset.add({
name: 'compact_allocation',

View File

@ -136,7 +136,7 @@ Deluge.preferences.Interface = Ext.extend(Ext.form.FormPanel, {
labelWidth: 110,
defaultType: 'spinnerfield',
defaults: {
width: 80,
width: 80
}
});
optMan.bind('session_timeout', fieldset.add({

View File

@ -86,7 +86,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}, {
fieldLabel: 'To',
width: 80,
@ -95,7 +95,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}]
});
optMan.bind('listen_ports', this.listenPorts);
@ -140,7 +140,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}, {
fieldLabel: 'To',
strategy: {
@ -148,7 +148,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}]
});
optMan.bind('outgoing_ports', this.outgoingPorts);

View File

@ -62,7 +62,7 @@ Deluge.preferences.ProxyField = Ext.extend(Ext.form.FieldSet, {
[2, _('Socksv5')],
[3, _('Socksv5 with Auth')],
[4, _('HTTP')],
[5, _('HTTP with Auth')],
[5, _('HTTP with Auth')]
]
}),
value: 0,

View File

@ -74,7 +74,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
autoHeight: true,
labelWidth: 150,
defaultType: 'spinnerfield',
style: 'margin-bottom: 0px; padding-bottom: 0px;',
style: 'margin-bottom: 0px; padding-bottom: 0px;'
});
optMan.bind('max_active_limit', fieldset.add({
fieldLabel: _('Total Active'),
@ -86,7 +86,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}));
optMan.bind('max_active_downloading', fieldset.add({
fieldLabel: _('Total Active Downloading'),
@ -98,7 +98,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}));
optMan.bind('max_active_seeding', fieldset.add({
fieldLabel: _('Total Active Seeding'),
@ -110,7 +110,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}));
optMan.bind('dont_count_slow_torrents', fieldset.add({
xtype: 'checkbox',
@ -127,7 +127,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
autoHeight: true,
labelWidth: 150,
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({
fieldLabel: _('Share Ratio Limit'),
@ -139,7 +139,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}));
optMan.bind('seed_time_ratio_limit', fieldset.add({
fieldLabel: _('Share Time Ratio'),
@ -151,7 +151,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}));
optMan.bind('seed_time_limit', fieldset.add({
fieldLabel: _('Seed Time (m)'),
@ -163,7 +163,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
decimalPrecision: 0,
minValue: -1,
maxValue: 99999
},
}
}));
fieldset = this.add({