X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0b02fcf42193d65eef88d8ba614c37710f5b050a..95e1aff23493b3725d5259bcca7bcc79d7d3bc26:/app/assets/javascripts/edit/id.js.erb diff --git a/app/assets/javascripts/edit/id.js.erb b/app/assets/javascripts/edit/id.js.erb index 6a68b6b2d..90318788c 100644 --- a/app/assets/javascripts/edit/id.js.erb +++ b/app/assets/javascripts/edit/id.js.erb @@ -10,7 +10,7 @@ $(document).ready(function () { var params = {}; if (mapParams.object) { - params.id = mapParams.object.type[0] + mapParams.object.id; + params.id = mapParams.object.type + '/' + mapParams.object.id; mapParams = OSM.parseHash(location.hash); if (mapParams.center) { params.map = mapParams.zoom + '/' + mapParams.center.lat + '/' + mapParams.center.lng;