diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-09 10:35:25 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-09 10:35:25 +1200 |
commit | be4a97500430eb12760636e1a76bf1de2f67250f (patch) | |
tree | de3d0ad4c1951576332854e6df25fa432a7566ef /web/app | |
parent | cb2ccd0ae5538fe3229e76031d9bd100e62101ad (diff) | |
download | etbsa-traccar-web-be4a97500430eb12760636e1a76bf1de2f67250f.tar.gz etbsa-traccar-web-be4a97500430eb12760636e1a76bf1de2f67250f.tar.bz2 etbsa-traccar-web-be4a97500430eb12760636e1a76bf1de2f67250f.zip |
Disable combobox editing
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/view/dialog/Device.js | 3 | ||||
-rw-r--r-- | web/app/view/dialog/Geofence.js | 1 | ||||
-rw-r--r-- | web/app/view/dialog/Group.js | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/web/app/view/dialog/Device.js b/web/app/view/dialog/Device.js index 054931c..ba78ca9 100644 --- a/web/app/view/dialog/Device.js +++ b/web/app/view/dialog/Device.js @@ -48,7 +48,8 @@ Ext.define('Traccar.view.dialog.Device', { store: 'Groups', queryMode: 'local', displayField: 'name', - valueField: 'id' + valueField: 'id', + editable: false }, { xtype: 'textfield', name: 'phone', diff --git a/web/app/view/dialog/Geofence.js b/web/app/view/dialog/Geofence.js index bed20d3..9d7a59a 100644 --- a/web/app/view/dialog/Geofence.js +++ b/web/app/view/dialog/Geofence.js @@ -52,6 +52,7 @@ Ext.define('Traccar.view.dialog.Geofence', { queryMode: 'local', displayField: 'name', valueField: 'id', + editable: false, fieldLabel: Strings.sharedCalendar }, { xtype: 'hiddenfield', diff --git a/web/app/view/dialog/Group.js b/web/app/view/dialog/Group.js index 1f351a5..b517bbf 100644 --- a/web/app/view/dialog/Group.js +++ b/web/app/view/dialog/Group.js @@ -43,7 +43,8 @@ Ext.define('Traccar.view.dialog.Group', { store: 'Groups', queryMode: 'local', displayField: 'name', - valueField: 'id' + valueField: 'id', + editable: false }] }] } |