[openstreetmap/openstreetmap-website] Handle html error message for map xml export (PR #6284)
mmd
notifications at github.com
Sun Aug 3 09:21:04 UTC 2025
This PR moves the HTML error response handler to download_util.js, and applies it to the Map XML export as well.
Before:
<img width="653" height="122" alt="image" src="https://github.com/user-attachments/assets/b6881789-5678-47ed-a4c3-d7e65464b075" />
After:
<img width="717" height="299" alt="image" src="https://github.com/user-attachments/assets/981a91df-25e4-417b-94bc-20b998acd67c" />
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6284
-- Commit Summary --
* Handle html error message for map xml export
-- File Changes --
M app/assets/javascripts/download_util.js (13)
M app/assets/javascripts/index/export.js (3)
M app/assets/javascripts/leaflet.share.js (13)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6284.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6284.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6284
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6284 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250803/6897299f/attachment-0001.htm>
More information about the rails-dev
mailing list