N°4038 - Pop up erreur portail utilisateur

This commit is contained in:
acognet
2021-05-31 23:43:58 +02:00
parent 84741c19f0
commit 684c88e0b8

View File

@@ -480,6 +480,10 @@
{
ShowErrorDialog('{{ 'UI:ObjectDoesNotExist'|dict_s|escape('js') }}', '{{ 'Error:HTTP:404'|dict_s|escape('js') }}');
}
else if(oXHR.status === 0 && oXHR.readyState === 0)
{
//DO NOTHING the ajax call has been aborted
}
else if(oXHR.responseText !== undefined && IsJSONString(oXHR.responseText) === true)
{
var oData = JSON.parse(oXHR.responseText);