aboutsummaryrefslogtreecommitdiff
path: root/web/app/controller/Root.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/controller/Root.js')
-rw-r--r--web/app/controller/Root.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index b858b20..e8d4f0f 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -25,6 +25,10 @@ Ext.define('Traccar.controller.Root', {
'Traccar.model.Position'
],
+ init: function () {
+ Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
+ },
+
onLaunch: function () {
Ext.Ajax.request({
scope: this,