mirror of
https://github.com/BreizhHardware/ProjetS4COMWEB.git
synced 2026-03-18 21:40:41 +01:00
Fix Félix
This commit is contained in:
@@ -18,6 +18,7 @@ function ajaxRequest(type, url, callback, data = null)
|
|||||||
{
|
{
|
||||||
case 200:
|
case 200:
|
||||||
case 201:
|
case 201:
|
||||||
|
callback(JSON.parse(xhr.responseText));
|
||||||
break;
|
break;
|
||||||
case 404:
|
case 404:
|
||||||
alert("Erreur 404: Page non trouvée");
|
alert("Erreur 404: Page non trouvée");
|
||||||
|
|||||||
Reference in New Issue
Block a user