From 18fcf61953f01d260b49c3ee4fea60c04b5907d6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 12 Aug 2011 19:26:12 +0100 Subject: [PATCH] Pass the right extent for a changeset to the remote control handler --- app/views/browse/_map.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb index 6641b0dd7..1ff86cd4e 100644 --- a/app/views/browse/_map.html.erb +++ b/app/views/browse/_map.html.erb @@ -89,12 +89,12 @@ }); $("remote_area_edit").observe("click", function (event) { - remoteEditHandler(event, extent); + remoteEditHandler(event, bbox); }); <% if preferred_editor == "remote" %> $("area_edit").observe("click", function (event) { - remoteEditHandler(event, extent); + remoteEditHandler(event, bbox); }); <% end %> -- 2.39.5