diff options
author | Struan Donald <struan@exo.org.uk> | 2013-07-30 14:45:50 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-07-30 14:45:50 +0100 |
commit | 2de94efa1b3f4700907b57ee9e8ae19fd4fade2b (patch) | |
tree | 1d58eb365e24ff4d854832cb6af61519a48a4891 | |
parent | aec58847ce499745f5148b271551b2c8bbeafa11 (diff) |
force bbox update if we cancel the current report
Fixes #71
-rw-r--r-- | src/js/views/around.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js index a4264ee..612e76e 100644 --- a/src/js/views/around.js +++ b/src/js/views/around.js @@ -216,6 +216,8 @@ e.preventDefault(); fixmystreet.markers.removeAllFeatures(); fixmystreet_activate_drag(); + // force pins to be refetched and displayed + fixmystreet.bbox_strategy.update({force: true}); this.displayButtons(false); if ( this.model.isPartial() ) { FMS.clearCurrentDraft(); |