[openstreetmap/openstreetmap-website] Image download w/ submit_tag (PR #6192)
mmd
notifications at github.com
Mon Jul 14 17:17:47 UTC 2025
mmd-osm left a comment (openstreetmap/openstreetmap-website#6192)
The click.rails event seems to be handled by jquery-ujs (https://github.com/rails/jquery-ujs/blob/master/src/rails.js#L524-L551). There's also some code in place to re-enable form elements, but my debugger isn't stopping there. It seems the turbo drive link I've posted earlier on isn't relevant?
```
$document.on('ajax:complete.rails', rails.formSubmitSelector, function(event) {
if (this === event.target) rails.enableFormElements($(this));
});
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6192#issuecomment-3070346505
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6192/c3070346505 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250714/f1c88592/attachment.htm>
More information about the rails-dev
mailing list