Author: damoxc

Revision: 4958

Log:
        clear the url field after the torrent has been added

Diff:
Modified: trunk/deluge/ui/web/js/deluge-add.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-add.js        2009-03-31 00:32:03 UTC (rev 
4957)
+++ trunk/deluge/ui/web/js/deluge-add.js        2009-03-31 00:33:56 UTC (rev 
4958)
@@ -197,6 +197,7 @@
        
        onGotInfo: function(info) {
                var bound = Deluge.Add.onTorrentAdded.bind(Deluge.Add)
+               this.Form.items.get('url').setValue('');
                bound(info);
        }
 }



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