Author: damoxc

Revision: 5703

Log:
        ensure the port is a Number

Diff:
Modified: trunk/deluge/ui/web/js/Deluge.Preferences.Proxy.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.Preferences.Proxy.js  2009-08-23 20:46:31 UTC 
(rev 5702)
+++ trunk/deluge/ui/web/js/Deluge.Preferences.Proxy.js  2009-08-24 20:08:03 UTC 
(rev 5703)
@@ -82,7 +82,7 @@
                return {
                        'type': this.type.getValue(),
                        'hostname': this.hostname.getValue(),
-                       'port': this.port.getValue(),
+                       'port': Number(this.port.getValue()),
                        'username': this.username.getValue(),
                        'password': this.password.getValue()
                }



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