aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-01 22:43:07 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-01 22:43:07 +1300
commitf6b43ed5b9ea619ab338a18c793cc9f2af126bf8 (patch)
treea60cd6df6c131154e7c846110ee9f5d36bb20e0f
parentbd8fe8735db1ce889adba6027aa2fe9898817338 (diff)
downloadtrackermap-web-f6b43ed5b9ea619ab338a18c793cc9f2af126bf8.tar.gz
trackermap-web-f6b43ed5b9ea619ab338a18c793cc9f2af126bf8.tar.bz2
trackermap-web-f6b43ed5b9ea619ab338a18c793cc9f2af126bf8.zip
Allow only predefined categories
-rw-r--r--web/app/view/DeviceDialog.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/view/DeviceDialog.js b/web/app/view/DeviceDialog.js
index 57820695..705ab923 100644
--- a/web/app/view/DeviceDialog.js
+++ b/web/app/view/DeviceDialog.js
@@ -60,6 +60,7 @@ Ext.define('Traccar.view.DeviceDialog', {
queryMode: 'local',
displayField: 'name',
valueField: 'key',
+ editable: false,
listConfig: {
getInnerTpl: function () {
return '<table><tr valign="middle" ><td><div align="center" style="width:40px;height:40px;" >' +