mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-11 09:54:38 +01:00
Do not show error window, if user has aborted the request.
This commit is contained in:
@@ -363,7 +363,7 @@ class AjaxUI {
|
||||
private onAjaxError (event, request, settings) {
|
||||
'use strict';
|
||||
//Ignore aborted requests.
|
||||
if (request.statusText =='abort') {
|
||||
if (request.statusText =='abort' || request.status == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user