From: Florent Bruneau Date: Sat, 2 Aug 2008 16:58:57 +0000 (+0200) Subject: 500 status code are errors... X-Git-Tag: xorg/0.10.0~147 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=4654187fb35b854020d92abb17915856c35ef9d8;p=platal.git 500 status code are errors... Signed-off-by: Florent Bruneau --- diff --git a/core b/core index 49ef925..12ccfec 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 49ef925d77389921d24c72d7e5ff031b0a87baf0 +Subproject commit 12ccfec732e22546728674652a0a4caeeec08f60 diff --git a/htdocs/javascript/ajax.js b/htdocs/javascript/ajax.js index 33cd83b..71797f0 100644 --- a/htdocs/javascript/ajax.js +++ b/htdocs/javascript/ajax.js @@ -76,6 +76,8 @@ function AjaxEngine() } } else if (ajax.xml_client.status == 403) { window.location.reload(); + } else if (ajax.xml_client.status >= 500) { + alert("Une erreur s'est produite lors du traitement de la requête"); } } };