ensure the port is a Number

This commit is contained in:
Damien Churchill 2009-08-24 20:08:03 +00:00
parent 00882ac867
commit bcbe3108c9
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ Ext.deluge.preferences.ProxyField = Ext.extend(Ext.form.FieldSet, {
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()
}