From ff266d342ae3c6922005f043470ef659447882b5 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 7 Apr 2016 17:05:08 +1200 Subject: Create separate class for tree store --- web/app/view/Devices.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'web/app/view/Devices.js') 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', -- cgit v1.2.3