still call Zotero.wait() when not using QuickCopy

This commit is contained in:
Simon Kornblith 2011-02-22 18:42:24 +00:00
parent 83d98dae19
commit 826a0eb5e3

View File

@ -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;
},