summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/ajax-responder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ajax-responder.js b/js/ajax-responder.js
index b30f6db..106ce33 100644
--- a/js/ajax-responder.js
+++ b/js/ajax-responder.js
@@ -145,7 +145,7 @@
// Fix end lines
error_text = error_text.replace(/[\n]+\s+/g,"\n");
}
- if (xhr.status == 500) {
+ else if (xhr.status == 500) {
error_text = xhr.status + ': ' + Drupal.t("Internal server error. Please see server or PHP logs for error information.");
}
else {