From 5e4c16e8aaf57369e4664448c04deac5ced26d8e Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Thu, 25 Feb 2010 21:15:57 +0100 Subject: [PATCH] Adjust order of error output --- lib/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.js b/lib/functions.js index 5a6d42f..f74c402 100644 --- a/lib/functions.js +++ b/lib/functions.js @@ -7,8 +7,8 @@ function ajax_request_callback(req) var data = json_parse(req.responseText); if (typeof data.error == 'string') { - alert("Error in AJAX backend:\n" + data.error); error('Fehler im AJAX-Backend'); + alert("Error in AJAX backend:\n" + data.error); } else if (req.oncomplete) req.oncomplete(data); } -- 2.20.1