]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
change updatelinks params so that Potlatch can pass in the view bbox. Also check...
[rails.git] / app / views / site / index.rhtml
index 54f28172739f2521a33a6dfd4bddc098eb3b4230..b8fcf579ee2c6071d78257eb204210052ad97456 100644 (file)
@@ -171,8 +171,8 @@ end
     var layers = getMapLayers();
     var extents = getMapExtent();
 
-    updatelinks(lonlat.lon, lonlat.lat, zoom, layers, extents);
-
+    updatelinks(lonlat.lon, lonlat.lat, zoom, layers, extents.left, extents.bottom, extents.right, extents.top);
+      
     document.cookie = "_osm_location=" + lonlat.lon + "|" + lonlat.lat + "|" + zoom + "|" + layers;
   }