aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-09 10:35:25 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-09-09 10:35:25 +1200
commitbe4a97500430eb12760636e1a76bf1de2f67250f (patch)
treede3d0ad4c1951576332854e6df25fa432a7566ef
parentcb2ccd0ae5538fe3229e76031d9bd100e62101ad (diff)
downloadtrackermap-web-be4a97500430eb12760636e1a76bf1de2f67250f.tar.gz
trackermap-web-be4a97500430eb12760636e1a76bf1de2f67250f.tar.bz2
trackermap-web-be4a97500430eb12760636e1a76bf1de2f67250f.zip
Disable combobox editing
-rw-r--r--web/app/view/dialog/Device.js3
-rw-r--r--web/app/view/dialog/Geofence.js1
-rw-r--r--web/app/view/dialog/Group.js3
3 files changed, 5 insertions, 2 deletions
diff --git a/web/app/view/dialog/Device.js b/web/app/view/dialog/Device.js
index 054931c5..ba78ca96 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 bed20d38..9d7a59a1 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 1f351a54..b517bbfb 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
}]
}]
}