diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-15 21:27:24 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-15 21:27:24 +1200 |
commit | 1386a568850016ad3a68d9c40d682efa9c407bf4 (patch) | |
tree | 83cb8268cb9bb54af34e06a282994aab6b1a2e17 | |
parent | 7ca6249a0af316846e4a3c1b2b651f106491041f (diff) | |
download | trackermap-web-1386a568850016ad3a68d9c40d682efa9c407bf4.tar.gz trackermap-web-1386a568850016ad3a68d9c40d682efa9c407bf4.tar.bz2 trackermap-web-1386a568850016ad3a68d9c40d682efa9c407bf4.zip |
Fix event removal issue
-rw-r--r-- | web/app/view/map/MapMarkerController.js | 4 |
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); } }, |