www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 0e80fb29c472ad3a4fe28246c56c748a37c3bc99
parent a92b4b1e80d6744f89a4077349389e7ccc9a7f9f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  5 Mar 2010 08:26:15 +0000

Add "Please try again in a few minutes." to empty and invalid server response messages


Diffstat:
Mchrome/content/zotero/xpcom/sync.js | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js @@ -1683,14 +1683,16 @@ Zotero.Sync.Server = new function () { _error("SSL connection error"); } } - _error('Empty response from server'); + // TODO: localize + _error('Empty response from server. Please try again in a few minutes.'); } if (!xmlhttp.responseXML || !xmlhttp.responseXML.childNodes[0] || xmlhttp.responseXML.childNodes[0].tagName != 'response' || !xmlhttp.responseXML.childNodes[0].firstChild) { Zotero.debug(xmlhttp.responseText); - _error('Invalid response from server', xmlhttp.responseText); + // TODO: localize + _error('Invalid response from server. Please try again in a few minutes.', xmlhttp.responseText); } var firstChild = xmlhttp.responseXML.firstChild.firstChild;