mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Do not show error window, if user has aborted the request.
This commit is contained in:
parent
dc1f137c97
commit
3530e788d4
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ class AjaxUI {
|
||||||
private onAjaxError (event, request, settings) {
|
private onAjaxError (event, request, settings) {
|
||||||
'use strict';
|
'use strict';
|
||||||
//Ignore aborted requests.
|
//Ignore aborted requests.
|
||||||
if (request.statusText =='abort') {
|
if (request.statusText =='abort' || request.status == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue