]> git.openstreetmap.org Git - rails.git/commitdiff
Use correct URL for note details
authorTom Hughes <tom@compton.nu>
Sat, 13 Aug 2011 10:51:32 +0000 (11:51 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 13 Aug 2011 10:51:32 +0000 (11:51 +0100)
public/javascripts/openstreetbugs.js

index 12bd7d8594f9a83b3785bf3f16a67d3e1972b453..323b04472a6fdc347a58874f9a0fcbe318437440 100644 (file)
@@ -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);