]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/edit/id.js.erb
Add iD disable_features parameter
[rails.git] / app / assets / javascripts / edit / id.js.erb
index bedabb1f9e7cfcf7a5beb3c99e5ef70199dd3e22..9831171831db58a071d6f55fcfffcf97cc025be9 100644 (file)
@@ -20,7 +20,10 @@ $(document).ready(function () {
 
     if (hashParams.background) params.background = hashParams.background;
     if (hashParams.comment) params.comment = hashParams.comment;
+    if (hashParams.disable_features) params.disable_features = hashParams.disable_features;
+    if (hashParams.hashtags) params.hashtags = hashParams.hashtags;
     if (hashParams.offset) params.offset = hashParams.offset;
+    if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;
 
     if (id.data("gpx")) {
       params.gpx = id.data("gpx");