]> git.openstreetmap.org Git - rails.git/commitdiff
Add iD disable_features parameter
authorBryan Housel <bryan@mapbox.com>
Fri, 10 Nov 2017 20:57:37 +0000 (15:57 -0500)
committerBryan Housel <bryan@mapbox.com>
Fri, 10 Nov 2017 20:57:37 +0000 (15:57 -0500)
app/assets/javascripts/edit/id.js.erb

index 834eeb75b9b332b190526e3abd1239f29e3df93c..9831171831db58a071d6f55fcfffcf97cc025be9 100644 (file)
@@ -20,6 +20,7 @@ $(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;