Merge pull request #46 from BreizhHardware/Yanis

Fix Félix
This commit is contained in:
YanisRff
2024-05-21 22:56:13 +02:00
committed by GitHub

View File

@@ -18,6 +18,7 @@ function ajaxRequest(type, url, callback, data = null)
{
case 200:
case 201:
callback(JSON.parse(xhr.responseText));
break;
case 404:
alert("Erreur 404: Page non trouvée");