www

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

commit 826a0eb5e344a36638deb84bdba41ff878e1026f
parent 83d98dae194864e6df91a964862916a00a27de47
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue, 22 Feb 2011 18:42:24 +0000

still call Zotero.wait() when not using QuickCopy


Diffstat:
Mchrome/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 @@ -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; },