Prevent appearance of a popup for a short time after deletion of an element on firefox

Related to issue #258
This commit is contained in:
Jan Böhmer 2023-04-07 23:11:29 +02:00
parent 6443d8e2bf
commit 8bccab258a

View file

@ -155,6 +155,11 @@ class ErrorHandlerHelper {
return;
}
//Skip 404 errors, on admin pages (as this causes a popup on deletion in firefox)
if (response.status == 404 && event.target.id === 'admin-content-frame') {
return;
}
if(!response.ok) {
response.text().then(responseHTML => {