aboutsummaryrefslogtreecommitdiff
path: root/web/app/controller
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-10 14:06:39 +0300
committerGitHub <noreply@github.com>2016-08-10 14:06:39 +0300
commit40e26cbf38a236f3c92e50dff619b1a29bd413de (patch)
tree450026b9cda50c8cafdf3a15ce07ed3bbccfbc3c /web/app/controller
parent78f8d278276f0826eb302a08213609b083570760 (diff)
parentee5af32f8a9bc1edd7af02dfe3f243ebfdfb8641 (diff)
downloadtrackermap-server-40e26cbf38a236f3c92e50dff619b1a29bd413de.tar.gz
trackermap-server-40e26cbf38a236f3c92e50dff619b1a29bd413de.tar.bz2
trackermap-server-40e26cbf38a236f3c92e50dff619b1a29bd413de.zip
Merge pull request #2197 from Abyss777/reports_web
Initial implementation Report API for web
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();
}