commit 4fdfdd341b2d1af577b6bc2ea1bc7273febfd9d5
parent a937c99f093728aa3147dcca499d4356a5d0d234
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 13 Feb 2018 18:26:50 -0500
Fix hang for invalid DOI in translation-server /search
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/utilities_translate.js b/chrome/content/zotero/xpcom/utilities_translate.js
@@ -202,6 +202,7 @@ Zotero.Utilities.Translate.prototype.processDocuments = async function (urls, pr
Zotero.debug("ZU.processDocuments() now takes only 3 arguments -- update your code");
var onDone = arguments[2];
var onError = arguments[3];
+ noCompleteOnError = false;
}
var translate = this._translate;