diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-22 16:31:47 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-22 16:31:47 +1200 |
commit | f965e1b5de4010162bf4c132645a6ee7c6348b5d (patch) | |
tree | 24752f195c5a0c2c6ee8a8ae0125f919278c362e /web/app/view/report/ReportController.js | |
parent | 96f34858dd2d095c75a72da6d10f5661ac51c042 (diff) | |
download | traccar-server-f965e1b5de4010162bf4c132645a6ee7c6348b5d.tar.gz traccar-server-f965e1b5de4010162bf4c132645a6ee7c6348b5d.tar.bz2 traccar-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.js | 7 |
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"); } |