[openstreetmap/openstreetmap-website] Map XML download with Turbo (PR #6255)

Marwin Hochfelsner notifications at github.com
Sun Jul 27 06:45:45 UTC 2025


@hlfan commented on this pull request.



> -      document.body.appendChild(a);
-      a.click();
-      document.body.removeChild(a);
-      URL.revokeObjectURL(url);
-    }
-
-    async function handleExportSuccess(fetchResponse) {
-      try {
-        const blob = await fetchResponse.response.blob();
-        const filename = OSM.i18n.t("javascripts.share.filename");
-        downloadBlob(blob, filename);
-      } catch (err) {
-        // eslint-disable-next-line no-alert
-        alert(OSM.i18n.t("javascripts.share.export_failed", { reason: "(blob error)" }));
-      }
-    }
 

‌

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

Message ID: <openstreetmap/openstreetmap-website/pull/6255/review/3059307628 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250726/b422d9d6/attachment.htm>


More information about the rails-dev mailing list