aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-25 12:37:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-25 12:37:09 +1300
commit3623470f03264378fc69e0b5cd94d5d0c72c64f5 (patch)
tree1f1f3a407aa9ce91f1ac00abc7a6debc6ac70af6
parent4fabe3d644f96b1477490f289adb39949523fa6d (diff)
downloadtrackermap-server-3623470f03264378fc69e0b5cd94d5d0c72c64f5.tar.gz
trackermap-server-3623470f03264378fc69e0b5cd94d5d0c72c64f5.tar.bz2
trackermap-server-3623470f03264378fc69e0b5cd94d5d0c72c64f5.zip
Fix group parent edit issue
-rw-r--r--web/app/view/DeviceDialog.js1
-rw-r--r--web/app/view/GroupDialog.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/web/app/view/DeviceDialog.js b/web/app/view/DeviceDialog.js
index 4a22ca008..37462ef88 100644
--- a/web/app/view/DeviceDialog.js
+++ b/web/app/view/DeviceDialog.js
@@ -41,6 +41,7 @@ Ext.define('Traccar.view.DeviceDialog', {
name: 'groupId',
fieldLabel: Strings.groupParent,
store: 'Groups',
+ queryMode: 'local',
displayField: 'name',
valueField: 'id'
}]
diff --git a/web/app/view/GroupDialog.js b/web/app/view/GroupDialog.js
index 2cca61ef5..032397a22 100644
--- a/web/app/view/GroupDialog.js
+++ b/web/app/view/GroupDialog.js
@@ -36,6 +36,7 @@ Ext.define('Traccar.view.GroupDialog', {
name: 'groupId',
fieldLabel: Strings.groupParent,
store: 'Groups',
+ queryMode: 'local',
displayField: 'name',
valueField: 'id'
}]