Author: damoxc

Revision: 4999

Log:
        disable add by info hash and create torrent buttons

Diff:
Modified: trunk/deluge/ui/web/js/deluge-add.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-add.js        2009-04-02 20:03:10 UTC (rev 
4998)
+++ trunk/deluge/ui/web/js/deluge-add.js        2009-04-02 20:10:59 UTC (rev 
4999)
@@ -195,7 +195,8 @@
                                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',

Modified: trunk/deluge/ui/web/js/deluge-bars.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-bars.js       2009-04-02 20:03:10 UTC (rev 
4998)
+++ trunk/deluge/ui/web/js/deluge-bars.js       2009-04-02 20:10:59 UTC (rev 
4999)
@@ -24,7 +24,7 @@
 
 Deluge.ToolBar = {
        connected_buttons: [
-               'create', 'add', 'remove', 'pause', 'resume', 'up', 'down'
+               'add', 'remove', 'pause', 'resume', 'up', 'down'
        ],
        
        onTorrentAdd: function() {



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to