Do not show aborded ajax requests.
This commit is contained in:
parent
a1ffce58c3
commit
ff9b7ad990
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ class _Singleton
|
|||
if !status && !detail
|
||||
detail = 'General communication error, maybe internet is not available!'
|
||||
|
||||
# do not show aborded requests
|
||||
return if status is 0
|
||||
|
||||
# do not show any error message on wrong login
|
||||
return if status is 422
|
||||
|
||||
|
|
Loading…
Reference in a new issue