disable add by info hash and create torrent buttons

This commit is contained in:
Damien Churchill 2009-04-02 20:10:59 +00:00
parent 3ce6f6bb88
commit 00bfd1a442
2 changed files with 3 additions and 2 deletions

View File

@ -195,7 +195,8 @@ Deluge.Add.Grid = new Ext.grid.GridPanel({
id: 'infohash',
cls: 'x-btn-text-icon',
text: _('Infohash'),
icon: '/icons/add_magnet.png'
icon: '/icons/add_magnet.png',
disabled: true
}, '->', {
id: 'remove',
cls: 'x-btn-text-icon',

View File

@ -24,7 +24,7 @@ Copyright:
Deluge.ToolBar = {
connected_buttons: [
'create', 'add', 'remove', 'pause', 'resume', 'up', 'down'
'add', 'remove', 'pause', 'resume', 'up', 'down'
],
onTorrentAdd: function() {