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/6...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to