[#2913] [Notifications] Fix webui passing string for port value

This commit is contained in:
Calum Lind 2017-03-20 18:46:36 +00:00
parent 8ff1bfc0b2
commit bc50f6e5f6
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ Deluge.ux.preferences.NotificationsPage = Ext.extend(Ext.Panel, {
config['smtp_enabled'] = this.chkEnableEmail.getValue();
config['smtp_host'] = this.hBoxHost.getComponent(1).getValue();
config['smtp_port'] = this.hBoxPort.getComponent(1).getValue();
config['smtp_port'] = Number(this.hBoxPort.getComponent(1).getValue());
config['smtp_user'] = this.hBoxUser.getComponent(1).getValue();
config['smtp_pass'] = this.hBoxPassword.getComponent(1).getValue();
config['smtp_from'] = this.hBoxFrom.getComponent(1).getValue();