commit bb0d70a050fd8aec9c5c4ec78dd6848235f7b07c
parent a2f2182357d001ab6ba66860438cf6952d5092e2
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 2 Nov 2009 06:03:52 +0000
Add comment
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js
@@ -697,7 +697,7 @@ Zotero.Translate.prototype._loadTranslator = function() {
* @param {NULL|Integer|FALSE} [libraryID=null] Library in which to save items,
* or NULL for default library;
* if FALSE, don't save items
- * @param {Boolean} [saveAttachments=true]
+ * @param {Boolean} [saveAttachments=true] Exclude attachments (e.g., snapshots) on import
*/
Zotero.Translate.prototype.translate = function(libraryID, saveAttachments) {
/*
@@ -1682,6 +1682,8 @@ Zotero.Translate.prototype._itemDone = function(item, attachedTo) {
delete item;
// Allow progress meter to update
+ //
+ // This can probably be re-enabled for web translators once badly asynced ones are fixed
if (this.type == 'import' || this.type == 'export') {
Zotero.wait();
}