From 788a499b346724d753798597fb18f8aef17e1588 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 18 May 2017 10:01:49 +0500 Subject: Implement known position attributes --- web/app/store/UserAttributes.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'web/app/store/UserAttributes.js') diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js index 8649eb8b..da05d5c8 100644 --- a/web/app/store/UserAttributes.js +++ b/web/app/store/UserAttributes.js @@ -23,54 +23,54 @@ Ext.define('Traccar.store.UserAttributes', { data: [{ key: 'mail.smtp.host', name: Strings.attributeMailSmtpHost, - type: 'string' + valueType: 'string' }, { key: 'mail.smtp.port', name: Strings.attributeMailSmtpPort, - type: 'number', + valueType: 'number', allowDecimals: false, minValue: 1, maxValue: 65535 }, { key: 'mail.smtp.starttls.enable', name: Strings.attributeMailSmtpStarttlsEnable, - type: 'boolean' + valueType: 'boolean' }, { key: 'mail.smtp.starttls.required', name: Strings.attributeMailSmtpStarttlsRequired, - type: 'boolean' + valueType: 'boolean' }, { key: 'mail.smtp.ssl.enable', name: Strings.attributeMailSmtpSslEnable, - type: 'boolean' + valueType: 'boolean' }, { key: 'mail.smtp.ssl.trust', name: Strings.attributeMailSmtpSslTrust, - type: 'string' + valueType: 'string' }, { key: 'mail.smtp.ssl.protocols', name: Strings.attributeMailSmtpSslProtocols, - type: 'string' + valueType: 'string' }, { key: 'mail.smtp.from', name: Strings.attributeMailSmtpFrom, - type: 'string' + valueType: 'string' }, { key: 'mail.smtp.auth', name: Strings.attributeMailSmtpAuth, - type: 'boolean' + valueType: 'boolean' }, { key: 'mail.smtp.username', name: Strings.attributeMailSmtpUsername, - type: 'string' + valueType: 'string' }, { key: 'mail.smtp.password', name: Strings.attributeMailSmtpPassword, - type: 'string' + valueType: 'string' }, { key: 'web.liveRouteLength', name: Strings.attributeWebLiveRouteLength, - type: 'number', + valueType: 'number', allowDecimals: false }] }); -- cgit v1.2.3