From eefc0b5a0d3ace4f75adb0fd9974fae8162b192a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Sun, 4 Nov 2012 13:05:13 -0700 Subject: [PATCH] Fix bbox params on browse area links --- app/assets/javascripts/browse.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/browse.js b/app/assets/javascripts/browse.js index b2efe4fd5..f92950c23 100644 --- a/app/assets/javascripts/browse.js +++ b/app/assets/javascripts/browse.js @@ -71,7 +71,14 @@ $(document).ready(function () { $("#object_edit").show(); var centre = extent.getCenter(); - updatelinks(centre.lng, centre.lat, 16, null, extent.left, extent.bottom, extent.right, extent.top, object); + updatelinks(centre.lng, + centre.lat, + 16, null, + extent.getWestLng(), + extent.getSouthLat(), + extent.getEastLng(), + extent.getNorthLat(), + object); } else { $("#small_map").hide(); } -- 2.39.5