From 35344f5f0503d004c17ba04c1c454865f98f0313 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 19 Aug 2009 22:00:54 +0000 Subject: [PATCH] Call Zotero.wait() only for import and export translators, since it causes problems with both badly asynced translators and attachment saving --- chrome/content/zotero/xpcom/translate.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js index 0a348963fe..5bf98e647b 100644 --- a/chrome/content/zotero/xpcom/translate.js +++ b/chrome/content/zotero/xpcom/translate.js @@ -1682,7 +1682,9 @@ Zotero.Translate.prototype._itemDone = function(item, attachedTo) { delete item; // Allow progress meter to update - Zotero.wait(); + if (this.type == 'import' || this.type == 'export') { + Zotero.wait(); + } } /*