Author: damoxc

Revision: 4982

Log:
        change the fileuploadbutton back to just a button, we'll open a new 
window, it'll be a cleaner solution

Diff:
Modified: trunk/deluge/ui/web/js/deluge-add.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-add.js        2009-04-02 09:33:21 UTC (rev 
4981)
+++ trunk/deluge/ui/web/js/deluge-add.js        2009-04-02 09:37:21 UTC (rev 
4982)
@@ -157,15 +157,12 @@
        margins: '5 5 5 5',
        bbar: new Ext.Toolbar({
                items: [
-                       new Ext.form.FileUploadField({
+                       {
                                id: 'file',
-                               buttonOnly: true,
-                               buttonCfg: {
-                                       cls: 'x-btn-text-icon',
-                                       icon: '/icons/add_file.png',
-                                       text: _('File')
-                               }
-                       }), {
+                               cls: 'x-btn-text-icon',
+                               icon: '/icons/add_file.png',
+                               text: _('File')
+                       }, {
                                id: 'url',
                                cls: 'x-btn-text-icon',
                                text: _('Url'),



--~--~---------~--~----~------------~-------~--~----~
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