aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-06-20 18:36:42 +0100
committerStruan Donald <struan@exo.org.uk>2013-06-20 18:36:42 +0100
commit4077584b85e9fea306f634a5b5a3d9272d8261fd (patch)
tree6026b773c035835a59e27c930fc978ba6a91ba18
parente503ecfd937e6115ecbd72fbf63238a1cc5d8465 (diff)
stop and start problem pins being displayed on new report/cancel report
-rw-r--r--www/js/views/around.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index db33bda..aeff46d 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -156,6 +156,7 @@
$('#login-options').hide();
$('#mark-here').hide();
$('#postcodeForm').hide();
+ fixmystreet.bbox_strategy.deactivate();
var lonlat = this.getCrossHairPosition();
var markers = fms_markers_list( [ [ lonlat.lat, lonlat.lon, 'green', 'location', '', 'location' ] ], true );
fixmystreet.markers.removeAllFeatures();
@@ -176,8 +177,9 @@
this.model.set('lat', null);
this.model.set('lon', null);
}
- fixmystreet.markers.setVisibility(true);
+ fixmystreet.bbox_strategy.activate();
fixmystreet.select_feature.activate();
+ fixmystreet_activate_drag();
},
onClickReport: function() {