]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/edit/id.js.erb
iD api url update
[rails.git] / app / assets / javascripts / edit / id.js.erb
index 8ab9425e23c051c340957ff5b66f3d814591a8fe..1891c5adc4dd23b8ad27d476098cda347149bf20 100644 (file)
@@ -27,9 +27,15 @@ $(document).ready(function () {
     if (hashParams.locale) params.locale = hashParams.locale;
     if (hashParams.maprules) params.maprules = hashParams.maprules;
     if (hashParams.offset) params.offset = hashParams.offset;
+    if (hashParams.photo) params.photo = hashParams.photo;
+    if (hashParams.photo_dates) params.photo_dates = hashParams.photo_dates;
     if (hashParams.photo_overlay) params.photo_overlay = hashParams.photo_overlay;
+    if (hashParams.photo_username) params.photo_username = hashParams.photo_username;
     if (hashParams.presets) params.presets = hashParams.presets;
     if (hashParams.source) params.source = hashParams.source;
+    if (hashParams.validationDisable) params.validationDisable = hashParams.validationDisable;
+    if (hashParams.validationWarning) params.validationWarning = hashParams.validationWarning;
+    if (hashParams.validationError) params.validationError = hashParams.validationError;
     if (hashParams.walkthrough) params.walkthrough = hashParams.walkthrough;
 
     if (id.data("gpx")) {