From 4a4b947cbbff599100e937400384b913b9152909 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 21 Jun 2015 14:51:25 +1200 Subject: Clear old report before showing new --- web/app/view/map/MapController.js | 2 ++ 1 file changed, 2 insertions(+) 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(); -- cgit v1.2.3