aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 15:38:42 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 15:38:42 +1300
commit546237415feccc2cc4974103241a12e4aff3ea06 (patch)
treeefa3ba6d9b20be46e1e7b9bdf871aed9e4d2f223 /web/app/view/UserDialog.js
parent4b5f8366b4f5a41591dd1b4627a97c9211c02fb8 (diff)
downloadtrackermap-web-546237415feccc2cc4974103241a12e4aff3ea06.tar.gz
trackermap-web-546237415feccc2cc4974103241a12e4aff3ea06.tar.bz2
trackermap-web-546237415feccc2cc4974103241a12e4aff3ea06.zip
Make some comboboxes non editable
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r--web/app/view/UserDialog.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 43bf0671..92e3c5b8 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -55,21 +55,24 @@ Ext.define('Traccar.view.UserDialog', {
fieldLabel: Strings.mapLayer,
store: 'MapTypes',
displayField: 'name',
- valueField: 'key'
+ valueField: 'key',
+ editable: false
}, {
xtype: 'combobox',
name: 'distanceUnit',
fieldLabel: Strings.sharedDistance,
store: 'DistanceUnits',
displayField: 'name',
- valueField: 'key'
+ valueField: 'key',
+ editable: false
}, {
xtype: 'combobox',
name: 'speedUnit',
fieldLabel: Strings.settingsSpeedUnit,
store: 'SpeedUnits',
displayField: 'name',
- valueField: 'key'
+ valueField: 'key',
+ editable: false
}, {
xtype: 'numberfield',
reference: 'latitude',