[openstreetmap/openstreetmap-website] Move jquery .load() to fetch (PR #5731)

Marwin Hochfelsner notifications at github.com
Thu Feb 27 23:38:09 UTC 2025


Continuing the move away from XHR.
There's probably a nice method to include the CSRF tokens under the hood, but at least this makes the need obvious.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5731

-- Commit Summary --

  * Move jquery .load() to fetch

-- File Changes --

    M app/assets/javascripts/leaflet.key.js (5)
    M app/assets/javascripts/richtext.js (13)
    M app/assets/javascripts/user.js (6)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5731.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5731.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5731 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250227/249f3dbd/attachment.htm>


More information about the rails-dev mailing list