commit 35344f5f0503d004c17ba04c1c454865f98f0313 parent 4e48c32a0ee62f55dbb766a308ec1e6817e66f1d Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 19 Aug 2009 22:00:54 +0000 Call Zotero.wait() only for import and export translators, since it causes problems with both badly asynced translators and attachment saving Diffstat:
| M | 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 @@ -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(); + } } /*