aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Devices.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-07 17:05:08 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-07 17:05:08 +1200
commitff266d342ae3c6922005f043470ef659447882b5 (patch)
tree589e5a45d9e9e91f6a49dde924b4f1f595db6513 /web/app/view/Devices.js
parent03844562307a8ed156d60a9d06c239c4d3092ea2 (diff)
downloadtrackermap-server-ff266d342ae3c6922005f043470ef659447882b5.tar.gz
trackermap-server-ff266d342ae3c6922005f043470ef659447882b5.tar.bz2
trackermap-server-ff266d342ae3c6922005f043470ef659447882b5.zip
Create separate class for tree store
Diffstat (limited to 'web/app/view/Devices.js')
-rw-r--r--web/app/view/Devices.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js
index d1d799944..70e11aab5 100644
--- a/web/app/view/Devices.js
+++ b/web/app/view/Devices.js
@@ -26,16 +26,7 @@ Ext.define('Traccar.view.Devices', {
controller: 'devices',
rootVisible: false,
- store: {
- type: 'tree',
- parentIdProperty: 'groupId',
- proxy: {
- type: 'memory',
- reader: {
- type: 'json'
- }
- }
- },
+ store: 'DevicesTree',
title: Strings.deviceTitle,
selType: 'rowmodel',