[openstreetmap/openstreetmap-website] Confirmation popup for Overpass API export (PR #6411)

mmd notifications at github.com
Fri Sep 26 19:17:07 UTC 2025


@mmd-osm commented on this pull request.



> @@ -37,6 +37,28 @@ OSM.Export = function (map) {
     validateControls();
   }
 
+  async function showConfirmationModal() {
+    const $modal = $("#export_confirmation");
+    const $okButton = $("#ok_button");

While I would argue that future users should really take care of it, we can add something similar to a class now: `data-action="download"`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6411#discussion_r2383274675
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6411/review/3273601463 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250926/72180d40/attachment-0001.htm>


More information about the rails-dev mailing list