aboutsummaryrefslogtreecommitdiff
path: root/web/app/controller
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-09 16:25:54 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-09 16:25:54 +0500
commit226dcdde755ad2b2b7384ac9cd59e5fcc3af550b (patch)
treec9c4494d9ea55a0173d4ddaf3eb4b07a1c8dc6f3 /web/app/controller
parent7a6de316942316466622f9bfa64691c4ba433b88 (diff)
downloadtrackermap-server-226dcdde755ad2b2b7384ac9cd59e5fcc3af550b.tar.gz
trackermap-server-226dcdde755ad2b2b7384ac9cd59e5fcc3af550b.tar.bz2
trackermap-server-226dcdde755ad2b2b7384ac9cd59e5fcc3af550b.zip
- Fixed csv MIME type and added response header
- Added 3 report types - Changed some Strings - Fixed jscs issues in other files
Diffstat (limited to 'web/app/controller')
-rw-r--r--web/app/controller/Root.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index 2c565747b..6d18f4073 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -73,6 +73,7 @@ Ext.define('Traccar.controller.Root', {
},
loadApp: function () {
+ var attribution;
Ext.getStore('Groups').load();
Ext.getStore('Geofences').load();
Ext.getStore('Devices').load({
@@ -81,7 +82,7 @@ Ext.define('Traccar.controller.Root', {
this.asyncUpdate(true);
}
});
- var attribution = Ext.get('attribution');
+ attribution = Ext.get('attribution');
if (attribution) {
attribution.remove();
}