From 3623470f03264378fc69e0b5cd94d5d0c72c64f5 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 25 Mar 2016 12:37:09 +1300 Subject: Fix group parent edit issue --- web/app/view/DeviceDialog.js | 1 + web/app/view/GroupDialog.js | 1 + 2 files changed, 2 insertions(+) (limited to 'web/app') 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' }] -- cgit v1.2.3