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/ServerDialog.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'web/app/view/ServerDialog.js') diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js index 659d171..a08851c 100644 --- a/web/app/view/ServerDialog.js +++ b/web/app/view/ServerDialog.js @@ -43,7 +43,8 @@ Ext.define('Traccar.view.ServerDialog', { fieldLabel: Strings.mapLayer, store: 'MapTypes', displayField: 'name', - valueField: 'key' + valueField: 'key', + editable: false }, { xtype: 'textfield', name: 'bingKey', @@ -58,14 +59,16 @@ Ext.define('Traccar.view.ServerDialog', { 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