From a6938623711855016cbc4aa4f99beb825ce4731d Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 13 Aug 2011 11:51:32 +0100 Subject: [PATCH] Use correct URL for note details --- public/javascripts/openstreetbugs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/openstreetbugs.js b/public/javascripts/openstreetbugs.js index 12bd7d859..323b04472 100644 --- a/public/javascripts/openstreetbugs.js +++ b/public/javascripts/openstreetbugs.js @@ -321,7 +321,7 @@ OpenLayers.Layer.OpenStreetBugs = new OpenLayers.Class(OpenLayers.Layer.Markers, el1.appendChild(document.createTextNode(" [")); el2 = document.createElement("a"); - el2.href = "/browse/bug/" + id; + el2.href = "/browse/note/" + id; el2.onclick = function(){ layer.map.setCenter(putAJAXMarker.bugs[id][0].clone().transform(layer.apiProjection, layer.map.getProjectionObject()), 15); }; el2.appendChild(document.createTextNode(i18n("javascripts.osb.Details"))); el1.appendChild(el2); -- 2.39.5