aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/report
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-20 22:37:34 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-20 22:37:34 +1200
commitdc76207257da485eeb4887202335c24e46d90263 (patch)
tree2ab4b0384c989a34e6b5d62b194bb3663ecf8cb4 /web/app/view/report
parent412bb3fe1c9fe9301c18c5c849e1432b58647055 (diff)
downloadtrackermap-server-dc76207257da485eeb4887202335c24e46d90263.tar.gz
trackermap-server-dc76207257da485eeb4887202335c24e46d90263.tar.bz2
trackermap-server-dc76207257da485eeb4887202335c24e46d90263.zip
Add report controller events
Diffstat (limited to 'web/app/view/report')
-rw-r--r--web/app/view/report/ReportController.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/view/report/ReportController.js b/web/app/view/report/ReportController.js
index 81da6fb83..df194c7f1 100644
--- a/web/app/view/report/ReportController.js
+++ b/web/app/view/report/ReportController.js
@@ -43,10 +43,14 @@ Ext.define('Traccar.view.report.ReportController', {
to: to
}
});
+
+ this.fireEvent("reportShow");
},
onClearClick: function() {
Ext.getStore('Positions').removeAll();
+
+ this.fireEvent("reportClear");
}
});