]> git.openstreetmap.org Git - rails.git/commitdiff
iD api url update
authorMilos Brzakovic <mbrzakovic@microsoft.com>
Mon, 26 Jul 2021 17:11:33 +0000 (19:11 +0200)
committerMilos Brzakovic <mbrzakovic@microsoft.com>
Mon, 26 Jul 2021 17:11:33 +0000 (19:11 +0200)
app/assets/javascripts/edit/id.js.erb

index 3937f738172592a5fe00703069b5583c39b38fa1..1891c5adc4dd23b8ad27d476098cda347149bf20 100644 (file)
@@ -33,6 +33,9 @@ $(document).ready(function () {
     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")) {