aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-07-24 15:49:56 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-07-24 15:49:56 +1200
commit3c9e721fd517c38ce4ce8e9d9f1f33f22160c4d5 (patch)
treebc2b9662a7a7ead44a2810f234978970ec0eccbd /web
parentef5d479471d84218baaba307c5fa7e0006342114 (diff)
downloadtrackermap-web-3c9e721fd517c38ce4ce8e9d9f1f33f22160c4d5.tar.gz
trackermap-web-3c9e721fd517c38ce4ce8e9d9f1f33f22160c4d5.tar.bz2
trackermap-web-3c9e721fd517c38ce4ce8e9d9f1f33f22160c4d5.zip
Fix lint issues
Diffstat (limited to 'web')
-rw-r--r--web/app/view/ReportController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 6c52cead..72e7e37e 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -175,7 +175,7 @@ Ext.define('Traccar.view.ReportController', {
store.showMarkers = this.showMarkers;
store.load({
scope: this,
- callback: function() {
+ callback: function () {
this.reportProgress = false;
this.updateButtons();
},
@@ -383,8 +383,8 @@ Ext.define('Traccar.view.ReportController', {
binary: true,
scope: this,
callback: function (options, success, response) {
+ var disposition, filename, type, blob, url, downloadUrl;
if (success) {
- var disposition, filename, type, blob, url, downloadUrl;
disposition = response.getResponseHeader('Content-Disposition');
filename = disposition.slice(disposition.indexOf('=') + 1, disposition.length);
type = response.getResponseHeader('Content-Type');