aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-15 21:27:24 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-15 21:27:24 +1200
commit1386a568850016ad3a68d9c40d682efa9c407bf4 (patch)
tree83cb8268cb9bb54af34e06a282994aab6b1a2e17 /web/app/view/map
parent7ca6249a0af316846e4a3c1b2b651f106491041f (diff)
downloadtrackermap-web-1386a568850016ad3a68d9c40d682efa9c407bf4.tar.gz
trackermap-web-1386a568850016ad3a68d9c40d682efa9c407bf4.tar.bz2
trackermap-web-1386a568850016ad3a68d9c40d682efa9c407bf4.zip
Fix event removal issue
Diffstat (limited to 'web/app/view/map')
-rw-r--r--web/app/view/map/MapMarkerController.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/web/app/view/map/MapMarkerController.js b/web/app/view/map/MapMarkerController.js
index c7767dd8..2f1d91e1 100644
--- a/web/app/view/map/MapMarkerController.js
+++ b/web/app/view/map/MapMarkerController.js
@@ -377,9 +377,7 @@ Ext.define('Traccar.view.map.MapMarkerController', {
clearEvent: function () {
if (this.selectedMarker && this.selectedMarker.get('event')) {
- if (!Ext.getStore('EventPositions').getById(this.selectedMarker.get('record').getId())) {
- this.selectMarker(null, false);
- }
+ this.selectMarker(null, false);
}
},