mirror of
https://github.com/BreizhHardware/ProjetS4COMWEB.git
synced 2026-01-18 16:47:35 +01:00
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user