From 7215f56a3fbb5e5fd45abc9bafe68bd21b6591f3 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Sun, 2 Apr 2017 08:53:52 +0500 Subject: Save panel states independently for desktop and mobile --- web/app/view/MainMobile.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'web/app/view') diff --git a/web/app/view/MainMobile.js b/web/app/view/MainMobile.js index 3fdcb4f..1f262cc 100644 --- a/web/app/view/MainMobile.js +++ b/web/app/view/MainMobile.js @@ -47,7 +47,8 @@ Ext.define('Traccar.view.MainMobile', { collapsed: true, collapseMode: 'mini', titleCollapse: true, - floatable: false + floatable: false, + stateId: 'mobile-state-grid' }, { region: 'center', xtype: 'mapView', @@ -60,7 +61,8 @@ Ext.define('Traccar.view.MainMobile', { flex: 1, collapsed: true, titleCollapse: true, - floatable: false + floatable: false, + stateId: 'mobile-devices-grid' }] }, { xtype: 'reportView' -- cgit v1.2.3