Pass correct arguments to updatelink
authorTom Hughes <tom@compton.nu>
Fri, 19 Jul 2013 13:07:48 +0000 (14:07 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 19 Jul 2013 13:07:48 +0000 (14:07 +0100)
app/assets/javascripts/browse.js

index b20e4516e8ceda5b698abceae4cc8c460e75d859..023dc878dd705aef120279676f8f48b099692e6e 100644 (file)
@@ -47,10 +47,7 @@ $(document).ready(function () {
       return remoteEditHandler(bbox);
     });
 
-    updatelinks(params, 16, null,
-                bbox.getWest(), bbox.getSouth(),
-                bbox.getEast(), bbox.getNorth(),
-                object);
+    updatelinks(params, 16, null, bbox, object);
   } else {
     $("#object_larger_map, #object_edit").hide();