]> git.openstreetmap.org Git - rails.git/blobdiff - public/javascripts/site.js
uptodate with en.yml 16746
[rails.git] / public / javascripts / site.js
index 59999b8c022bf5dff709ff04ebfd4243f9f19d3a..3e28e0c0a059ab0650c48e770aea2a6835121480 100644 (file)
@@ -55,6 +55,9 @@ function updatelinks(lon,lat,zoom,layers,minlon,minlat,maxlon,maxlat,objtype,obj
       args.lat = lat;
       args.lon = lon;
       args.zoom = zoom;
+      if (objtype && objid) {
+        args[objtype] = objid;
+      }
       node.href = setArgs("/edit", args);
       node.style.fontStyle = 'normal';
     } else {