From: Tom Hughes Date: Sat, 13 Aug 2011 10:51:32 +0000 (+0100) Subject: Use correct URL for note details X-Git-Tag: live~5616^2~142 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a6938623711855016cbc4aa4f99beb825ce4731d Use correct URL for note details --- 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);