aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/report/ReportController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-22 16:31:47 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-22 16:31:47 +1200
commitf965e1b5de4010162bf4c132645a6ee7c6348b5d (patch)
tree24752f195c5a0c2c6ee8a8ae0125f919278c362e /web/app/view/report/ReportController.js
parent96f34858dd2d095c75a72da6d10f5661ac51c042 (diff)
downloadtrackermap-server-f965e1b5de4010162bf4c132645a6ee7c6348b5d.tar.gz
trackermap-server-f965e1b5de4010162bf4c132645a6ee7c6348b5d.tar.bz2
trackermap-server-f965e1b5de4010162bf4c132645a6ee7c6348b5d.zip
Add functions to create style
Diffstat (limited to 'web/app/view/report/ReportController.js')
-rw-r--r--web/app/view/report/ReportController.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/web/app/view/report/ReportController.js b/web/app/view/report/ReportController.js
index d62e87973..415cdfe3a 100644
--- a/web/app/view/report/ReportController.js
+++ b/web/app/view/report/ReportController.js
@@ -41,15 +41,16 @@ Ext.define('Traccar.view.report.ReportController', {
deviceId: deviceId,
from: from,
to: to
+ },
+ scope: this,
+ callback: function() {
+ this.fireEvent("reportShow");
}
});
-
- this.fireEvent("reportShow");
},
onClearClick: function() {
Ext.getStore('Positions').removeAll();
-
this.fireEvent("reportClear");
}