From fbe7831f7765d62853641750b85861b19a2a8715 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 5 Apr 2017 09:38:40 +0500 Subject: Handle allowDecimals config --- web/app/store/UserAttributes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web/app/store/UserAttributes.js') diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js index 37204751..80ded0d8 100644 --- a/web/app/store/UserAttributes.js +++ b/web/app/store/UserAttributes.js @@ -26,6 +26,7 @@ Ext.define('Traccar.store.UserAttributes', { }, { key: 'mail.smtp.port', type: 'number', + allowDecimals: false, minValue: 1, maxValue: 65535 }, { @@ -57,6 +58,7 @@ Ext.define('Traccar.store.UserAttributes', { type: 'string' }, { key: 'web.liveRouteLength', - type: 'number' + type: 'number', + allowDecimals: false }] }); -- cgit v1.2.3