From 942fe0f97f09a3283dab1a455f22a554526290dc Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sat, 18 Jun 2011 00:48:13 +0000 Subject: [PATCH] Fix apply call in Zotero.Translate --- chrome/content/zotero/xpcom/translation/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index 3fb07ea0a..1823b1cc8 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -1176,7 +1176,7 @@ Zotero.Translate.Web.prototype._prepareTranslation = function() { */ Zotero.Translate.Web.prototype.translate = function(libraryID, saveAttachments, selectedItems) { this._selectedItems = selectedItems; - Zotero.Translate.Base.prototype.translate.apply(this, libraryID, saveAttachments); + Zotero.Translate.Base.prototype.translate.apply(this, [libraryID, saveAttachments]); } /**