diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-21 14:51:25 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-21 14:51:25 +1200 |
commit | 4a4b947cbbff599100e937400384b913b9152909 (patch) | |
tree | dd79e6eef9191e3628ab8fa7a1431b5f6684a231 /web/app/view | |
parent | 58f97621669b0b9a1778e74cbd3cb6c3743aec38 (diff) | |
download | traccar-server-4a4b947cbbff599100e937400384b913b9152909.tar.gz traccar-server-4a4b947cbbff599100e937400384b913b9152909.tar.bz2 traccar-server-4a4b947cbbff599100e937400384b913b9152909.zip |
Clear old report before showing new
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/map/MapController.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/app/view/map/MapController.js b/web/app/view/map/MapController.js index 7d1d2c186..cad8f502a 100644 --- a/web/app/view/map/MapController.js +++ b/web/app/view/map/MapController.js @@ -129,6 +129,8 @@ Ext.define('Traccar.view.map.MapController', { }, reportShow: function() { + this.reportClear(); + var vectorSource = this.getView().vectorSource; var data = Ext.getStore('Positions').getData().clone(); |