aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/UserAttributes.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-04-05 09:38:40 +0500
committerAbyss777 <abyss@fox5.ru>2017-04-05 09:58:39 +0500
commitfbe7831f7765d62853641750b85861b19a2a8715 (patch)
tree9373f6d0526e14784501316b6b3ad6959b9ec6e6 /web/app/store/UserAttributes.js
parent94fc6862c6635c680afc600a19f61fb9aaefe0ef (diff)
downloadetbsa-traccar-web-fbe7831f7765d62853641750b85861b19a2a8715.tar.gz
etbsa-traccar-web-fbe7831f7765d62853641750b85861b19a2a8715.tar.bz2
etbsa-traccar-web-fbe7831f7765d62853641750b85861b19a2a8715.zip
Handle allowDecimals config
Diffstat (limited to 'web/app/store/UserAttributes.js')
-rw-r--r--web/app/store/UserAttributes.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js
index 3720475..80ded0d 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
}]
});