]> git.openstreetmap.org Git - rails.git/commitdiff
Pass the right extent for a changeset to the remote control handler
authorTom Hughes <tom@compton.nu>
Fri, 12 Aug 2011 18:26:12 +0000 (19:26 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 12 Aug 2011 18:26:12 +0000 (19:26 +0100)
app/views/browse/_map.html.erb

index 6641b0dd71f2e3ea3711aadbae52f23db84cdeb6..1ff86cd4efa52468240a57e5e0c7fdfdeebe10c8 100644 (file)
         });
 
         $("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 %>