diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/CommandDialog.js | 1 | ||||
-rw-r--r-- | web/app/view/GeofenceMap.js | 1 | ||||
-rw-r--r-- | web/app/view/Login.js | 1 | ||||
-rw-r--r-- | web/app/view/Report.js | 2 | ||||
-rw-r--r-- | web/app/view/ServerDialog.js | 9 | ||||
-rw-r--r-- | web/app/view/UserDialog.js | 9 |
6 files changed, 16 insertions, 7 deletions
diff --git a/web/app/view/CommandDialog.js b/web/app/view/CommandDialog.js index 9532c531..cf140623 100644 --- a/web/app/view/CommandDialog.js +++ b/web/app/view/CommandDialog.js @@ -34,6 +34,7 @@ Ext.define('Traccar.view.CommandDialog', { store: 'CommandTypes', displayField: 'name', valueField: 'type', + editable: false, listeners: { select: 'onSelect' } diff --git a/web/app/view/GeofenceMap.js b/web/app/view/GeofenceMap.js index 52287fd6..16b0721c 100644 --- a/web/app/view/GeofenceMap.js +++ b/web/app/view/GeofenceMap.js @@ -33,6 +33,7 @@ Ext.define('Traccar.view.GeofenceMap', { store: 'GeofenceTypes', valueField: 'key', displayField: 'name', + editable: false, listeners: { select: 'onTypeSelect' } diff --git a/web/app/view/Login.js b/web/app/view/Login.js index 3e8f32ff..d4ab1403 100644 --- a/web/app/view/Login.js +++ b/web/app/view/Login.js @@ -47,6 +47,7 @@ Ext.define('Traccar.view.Login', { store: 'Languages', displayField: 'name', valueField: 'code', + editable: false, submitValue: false, listeners: { select: 'onSelectLanguage' diff --git a/web/app/view/Report.js b/web/app/view/Report.js index 933ead4b..18debc63 100644 --- a/web/app/view/Report.js +++ b/web/app/view/Report.js @@ -36,7 +36,7 @@ Ext.define('Traccar.view.Report', { store: 'ReportTypes', displayField: 'name', valueField: 'key', - typeAhead: true, + editable: false, listeners: { change: 'onTypeChange' } diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js index 659d171d..a08851ca 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', 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', |