ensure the port is a Number
This commit is contained in:
parent
00882ac867
commit
bcbe3108c9
@ -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()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user