HolgerJeromin left a comment (openstreetmap/openstreetmap-website#7222)

> But that guard doesn't work when the selection is empty because Rails 
> returned the error, which doesn't include the lists jQuery wants.

You are right. Minimal example:
```js
// empty jQuery collection
$()
// this AbortController is not saved anywhere
.data("ajax", new AbortController())
// this fails therefore
.data("ajax").signal
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7222#issuecomment-4933833731
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/7222/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to