summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/functions.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/js/functions.js b/js/functions.js
index 46ab7a584..aa840382c 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -44,13 +44,8 @@ function exception_error(location, e, ext_info) {
try {
- if (ext_info) {
- if (ext_info.responseText) {
- ext_info = ext_info.responseText;
- } else {
- ext_info = JSON.stringify(ext_info);
- }
- }
+ if (ext_info)
+ ext_info = JSON.stringify(ext_info);
try {
new Ajax.Request("backend.php", {