aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-07 09:12:34 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-07 09:12:34 +0500
commite4acd577b0f4d83780d8101c3dc5ba177d649604 (patch)
tree28eea451b90f96be8b1355a0ea8c7c4e67485a12 /web/app/view/dialog
parent019fccd1bd4a123fe93228462b33f14889b23394 (diff)
downloadtrackermap-web-e4acd577b0f4d83780d8101c3dc5ba177d649604.tar.gz
trackermap-web-e4acd577b0f4d83780d8101c3dc5ba177d649604.tar.bz2
trackermap-web-e4acd577b0f4d83780d8101c3dc5ba177d649604.zip
- Save attributes with correct types
- Make two toolbars scrollable
Diffstat (limited to 'web/app/view/dialog')
-rw-r--r--web/app/view/dialog/Server.js15
-rw-r--r--web/app/view/dialog/User.js3
2 files changed, 6 insertions, 12 deletions
diff --git a/web/app/view/dialog/Server.js b/web/app/view/dialog/Server.js
index c7b94576..b6343f3c 100644
--- a/web/app/view/dialog/Server.js
+++ b/web/app/view/dialog/Server.js
@@ -68,15 +68,13 @@ Ext.define('Traccar.view.dialog.Server', {
inputValue: true,
uncheckedValue: false,
name: 'twelveHourFormat',
- fieldLabel: Strings.settingsTwelveHourFormat,
- allowBlank: false
+ fieldLabel: Strings.settingsTwelveHourFormat
}, {
xtype: 'checkboxfield',
inputValue: true,
uncheckedValue: false,
name: 'forceSettings',
- fieldLabel: Strings.serverForceSettings,
- allowBlank: false
+ fieldLabel: Strings.serverForceSettings
}, {
xtype: 'combobox',
name: 'coordinateFormat',
@@ -96,22 +94,19 @@ Ext.define('Traccar.view.dialog.Server', {
inputValue: true,
uncheckedValue: false,
name: 'registration',
- fieldLabel: Strings.serverRegistration,
- allowBlank: false
+ fieldLabel: Strings.serverRegistration
}, {
xtype: 'checkboxfield',
inputValue: true,
uncheckedValue: false,
name: 'readonly',
- fieldLabel: Strings.serverReadonly,
- allowBlank: false
+ fieldLabel: Strings.serverReadonly
}, {
xtype: 'checkboxfield',
inputValue: true,
uncheckedValue: false,
name: 'deviceReadonly',
- fieldLabel: Strings.userDeviceReadonly,
- allowBlank: false
+ fieldLabel: Strings.userDeviceReadonly
}]
}]
},
diff --git a/web/app/view/dialog/User.js b/web/app/view/dialog/User.js
index f646d493..43990a54 100644
--- a/web/app/view/dialog/User.js
+++ b/web/app/view/dialog/User.js
@@ -85,8 +85,7 @@ Ext.define('Traccar.view.dialog.User', {
inputValue: true,
uncheckedValue: false,
name: 'twelveHourFormat',
- fieldLabel: Strings.settingsTwelveHourFormat,
- allowBlank: false
+ fieldLabel: Strings.settingsTwelveHourFormat
}, {
xtype: 'combobox',
name: 'coordinateFormat',