From 5057da9ed3bb2cbd13579c8790cd756549133353 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 2 Oct 2011 18:21:41 +0000 Subject: [PATCH] Properly pass URL --- chrome/content/zotero/xpcom/utilities_translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/utilities_translate.js b/chrome/content/zotero/xpcom/utilities_translate.js index af9ca64a94..fab378e6e1 100644 --- a/chrome/content/zotero/xpcom/utilities_translate.js +++ b/chrome/content/zotero/xpcom/utilities_translate.js @@ -235,7 +235,7 @@ Zotero.Utilities.Translate.prototype.processDocuments = function(urls, processor var newLoc = doc.location; if(Zotero.isFx && (loc.protocol !== newLoc.protocol || loc.host !== newLoc.host)) { // Cross-site; need to serialize and unserialize - processor(Zotero.Translate.SandboxManager.Fx5DOMWrapper(doc, newLoc.toString())); + processor(Zotero.Translate.SandboxManager.Fx5DOMWrapper(doc), newLoc.toString()); } else { // Not cross-site; no need to wrap processor(doc, newLoc.toString());