From 4654187fb35b854020d92abb17915856c35ef9d8 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 2 Aug 2008 18:58:57 +0200 Subject: [PATCH] 500 status code are errors... Signed-off-by: Florent Bruneau --- core | 2 +- htdocs/javascript/ajax.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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"); } } }; -- 2.1.4