aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/MainMobile.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-04-02 08:53:52 +0500
committerAbyss777 <abyss@fox5.ru>2017-04-02 08:53:52 +0500
commit7215f56a3fbb5e5fd45abc9bafe68bd21b6591f3 (patch)
tree863ff130f2efb2eca084a772a0043856816d3bee /web/app/view/MainMobile.js
parent47eff075095604afa7405993ce2d7b4ae29fc939 (diff)
downloadetbsa-traccar-web-7215f56a3fbb5e5fd45abc9bafe68bd21b6591f3.tar.gz
etbsa-traccar-web-7215f56a3fbb5e5fd45abc9bafe68bd21b6591f3.tar.bz2
etbsa-traccar-web-7215f56a3fbb5e5fd45abc9bafe68bd21b6591f3.zip
Save panel states independently for desktop and mobile
Diffstat (limited to 'web/app/view/MainMobile.js')
-rw-r--r--web/app/view/MainMobile.js6
1 files changed, 4 insertions, 2 deletions
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'