projects
/
project/ctools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4251e56
)
Missing else in the recent error checking code.
author
Earl Miles
Fri, 22 Jan 2010 06:14:31 +0000 (06:14 +0000)
committer
Earl Miles
Fri, 22 Jan 2010 06:14:31 +0000 (06:14 +0000)
js/ajax-responder.js
patch
|
blob
|
blame
|
history
diff --git
a/js/ajax-responder.js
b/js/ajax-responder.js
index
b30f6db
..
106ce33
100644
(file)
--- 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 {