From 4fdfdd341b2d1af577b6bc2ea1bc7273febfd9d5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 13 Feb 2018 18:26:50 -0500 Subject: [PATCH] Fix hang for invalid DOI in translation-server /search --- chrome/content/zotero/xpcom/utilities_translate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/utilities_translate.js b/chrome/content/zotero/xpcom/utilities_translate.js index 7a91fab46..9cd613297 100644 --- 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;