remove unrequired attributes from the button configs

This commit is contained in:
Damien Churchill 2010-03-24 18:03:38 +00:00
parent 73ec9b0338
commit 7d27b847fb
1 changed files with 0 additions and 8 deletions

View File

@ -423,28 +423,20 @@ Deluge.add.AddWindow = Ext.extend(Deluge.add.Window, {
margins: '5 5 5 5',
bbar: new Ext.Toolbar({
items: [{
id: 'file',
cls: 'x-btn-text-icon',
iconCls: 'x-deluge-add-file',
text: _('File'),
handler: this.onFile,
scope: this
}, {
id: 'url',
cls: 'x-btn-text-icon',
text: _('Url'),
iconCls: 'icon-add-url',
handler: this.onUrl,
scope: this
}, {
id: 'infohash',
cls: 'x-btn-text-icon',
text: _('Infohash'),
iconCls: 'icon-add-magnet',
disabled: true
}, '->', {
id: 'remove',
cls: 'x-btn-text-icon',
text: _('Remove'),
iconCls: 'icon-remove',
handler: this.onRemove,