]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/edit/id.js.erb
Move all settings to settings.yml
[rails.git] / app / assets / javascripts / edit / id.js.erb
index a85fcef457f98271606c692985d1227ad191a7bc..2ce8974f5d0decd3d55bbfe5fb74bd270d184517 100644 (file)
@@ -25,6 +25,9 @@ $(document).ready(function () {
     if (hashParams.disable_features) params.disable_features = hashParams.disable_features;
     if (hashParams.offset) params.offset = hashParams.offset;
     if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;
     if (hashParams.disable_features) params.disable_features = hashParams.disable_features;
     if (hashParams.offset) params.offset = hashParams.offset;
     if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;
+    if (hashParams.locale) params.locale = hashParams.locale;
+    if (hashParams.maprules) params.maprules = hashParams.maprules;
+    if (hashParams.presets) params.presets = hashParams.presets;
 
     if (id.data("gpx")) {
       params.gpx = id.data("gpx");
 
     if (id.data("gpx")) {
       params.gpx = id.data("gpx");