Skip to content

Commit

Permalink
Use correct URL for note details
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Aug 13, 2011
1 parent 72e3304 commit a693862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/openstreetbugs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a693862

Please sign in to comment.