aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-03-01 11:56:18 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-03-01 11:56:18 +0000
commit5e9d0e7f7ad547d059025e152ca64fe294b67eea (patch)
tree9c62d844dac6df9d92a95f0b1fe021c43ef66672 /web/js/map-OpenLayers.js
parente112859ac4712942a7da177a1882ca4ef1ea44cf (diff)
Move disappearing of sub map links and appearing of tryagain/ok to after the click, also remove permalink and add receive updates
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index f9c2efcaf..22183668d 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -430,6 +430,14 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
}
fixmystreet.page = 'new';
location.hash = 'report';
+ $('#sub_map_links').hide();
+ $('#map_box').append(
+ '<p id="mob_sub_map_links">'+
+ '<a href="#">Try again</a>'+
+ '<a href="#">OK</a>'+
+ '</p>'
+ );
+ $('.mobile-map-banner').text('Right place?');
},
locate_report: function(e) {