From 2ffe7a3b14caeb55a6338d769255cafa6f67d3c6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 11 Mar 2014 13:59:14 +0400 Subject: add a less intimidating error message when backend times out and/or fails to return valid JSON --- js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/functions.js') diff --git a/js/functions.js b/js/functions.js index 1ad15fcc6..93b037152 100644 --- a/js/functions.js +++ b/js/functions.js @@ -833,7 +833,7 @@ function quickAddFeed() { var reply = JSON.parse(transport.responseText); } catch (e) { Element.hide("feed_add_spinner"); - alert(__("Failed to parse output. This can indicate server timeout and/or network issues. Backend output was logged to browser console.")); + alert(__("Failed to parse output. This can indicate server timeout and/or network issues. Backend output was logged to the browser console.")); console.log('quickAddFeed, backend returned:' + transport.responseText); return; } -- cgit v1.2.3-54-g00ecf