aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ServerDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-13 11:02:05 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-13 11:02:05 +1300
commit36f645e0d3def24ea6228c0974b83f60503d9ea6 (patch)
treea786070c6bf980d94af20f57081f56723f73c92e /web/app/view/ServerDialog.js
parent991979b842327286de489415cc6f63492688f68e (diff)
downloadtrackermap-web-36f645e0d3def24ea6228c0974b83f60503d9ea6.tar.gz
trackermap-web-36f645e0d3def24ea6228c0974b83f60503d9ea6.tar.bz2
trackermap-web-36f645e0d3def24ea6228c0974b83f60503d9ea6.zip
Return boolean from CheckBox (fix #356)
Diffstat (limited to 'web/app/view/ServerDialog.js')
-rw-r--r--web/app/view/ServerDialog.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js
index 0f965885..0a05876e 100644
--- a/web/app/view/ServerDialog.js
+++ b/web/app/view/ServerDialog.js
@@ -29,11 +29,15 @@ Ext.define('Traccar.view.ServerDialog', {
xtype: 'form',
items: [{
xtype: 'checkboxfield',
+ inputValue: true,
+ uncheckedValue: false,
name: 'registration',
fieldLabel: Strings.serverRegistration,
allowBlank: false
}, {
xtype: 'checkboxfield',
+ inputValue: true,
+ uncheckedValue: false,
name: 'readonly',
fieldLabel: Strings.serverReadonly,
allowBlank: false
@@ -88,11 +92,15 @@ Ext.define('Traccar.view.ServerDialog', {
fieldLabel: Strings.serverZoom
}, {
xtype: 'checkboxfield',
+ inputValue: true,
+ uncheckedValue: false,
name: 'twelveHourFormat',
fieldLabel: Strings.settingsTwelveHourFormat,
allowBlank: false
}, {
xtype: 'checkboxfield',
+ inputValue: true,
+ uncheckedValue: false,
name: 'forceSettings',
fieldLabel: Strings.serverForceSettings,
allowBlank: false