From 826a0eb5e344a36638deb84bdba41ff878e1026f Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 22 Feb 2011 18:42:24 +0000 Subject: [PATCH] still call Zotero.wait() when not using QuickCopy --- chrome/content/zotero/xpcom/translation/translate.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index 7323f5526..eaf0e3521 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -95,7 +95,7 @@ Zotero.Translate.Sandbox = { // Allow progress meter to update // // This can probably be re-enabled for web translators once badly asynced ones are fixed - if(!translate.noWait && (translate instanceof Zotero.Translate.Import || translate instanceof Zotero.Translate.Export)) { + if(!translate.noWait && translate instanceof Zotero.Translate.Import) { Zotero.wait(); } @@ -417,6 +417,12 @@ Zotero.Translate.Sandbox = { } translate._runHandler("itemDone", item); + + // Update progress bar + if(!translate.noWait) { + Zotero.wait(); + } + return item; },