From 546237415feccc2cc4974103241a12e4aff3ea06 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 8 Oct 2016 15:38:42 +1300 Subject: Make some comboboxes non editable --- web/app/view/UserDialog.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'web/app/view/UserDialog.js') diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index 43bf067..92e3c5b 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', -- cgit v1.2.3