[openstreetmap/openstreetmap-website] Use $.ajax instead of iframe to make remote control requests (PR #3760)

Anton Khorev notifications at github.com
Thu Oct 20 12:42:18 UTC 2022


iframe with src set to remote control request urls first appeared in https://github.com/openstreetmap/openstreetmap-website/commit/c3453cf57df864b008dca6479f84504f81c0b131 and was updated with timeout alert in https://github.com/openstreetmap/openstreetmap-website/commit/d4135390acff291f2f2c15d9fb86723ebf4fe755.

jQuery's $.ajax can make the same requests and has builtin timeout support.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use $.ajax instead of iframe to make remote control requests

-- File Changes --

    M app/assets/javascripts/index.js (18)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list