remove unrequired attributes from the button configs
This commit is contained in:
parent
73ec9b0338
commit
7d27b847fb
|
@ -423,28 +423,20 @@ Deluge.add.AddWindow = Ext.extend(Deluge.add.Window, {
|
||||||
margins: '5 5 5 5',
|
margins: '5 5 5 5',
|
||||||
bbar: new Ext.Toolbar({
|
bbar: new Ext.Toolbar({
|
||||||
items: [{
|
items: [{
|
||||||
id: 'file',
|
|
||||||
cls: 'x-btn-text-icon',
|
|
||||||
iconCls: 'x-deluge-add-file',
|
iconCls: 'x-deluge-add-file',
|
||||||
text: _('File'),
|
text: _('File'),
|
||||||
handler: this.onFile,
|
handler: this.onFile,
|
||||||
scope: this
|
scope: this
|
||||||
}, {
|
}, {
|
||||||
id: 'url',
|
|
||||||
cls: 'x-btn-text-icon',
|
|
||||||
text: _('Url'),
|
text: _('Url'),
|
||||||
iconCls: 'icon-add-url',
|
iconCls: 'icon-add-url',
|
||||||
handler: this.onUrl,
|
handler: this.onUrl,
|
||||||
scope: this
|
scope: this
|
||||||
}, {
|
}, {
|
||||||
id: 'infohash',
|
|
||||||
cls: 'x-btn-text-icon',
|
|
||||||
text: _('Infohash'),
|
text: _('Infohash'),
|
||||||
iconCls: 'icon-add-magnet',
|
iconCls: 'icon-add-magnet',
|
||||||
disabled: true
|
disabled: true
|
||||||
}, '->', {
|
}, '->', {
|
||||||
id: 'remove',
|
|
||||||
cls: 'x-btn-text-icon',
|
|
||||||
text: _('Remove'),
|
text: _('Remove'),
|
||||||
iconCls: 'icon-remove',
|
iconCls: 'icon-remove',
|
||||||
handler: this.onRemove,
|
handler: this.onRemove,
|
||||||
|
|
Loading…
Reference in New Issue