From c7df8c879cff46b57ec4bd719959196e3854df78 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 20 Dec 2011 01:03:09 -0500 Subject: [PATCH] Also fix retrieveDocument --- 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 4fcf33427..2a5ca245f 100644 --- a/chrome/content/zotero/xpcom/utilities_translate.js +++ b/chrome/content/zotero/xpcom/utilities_translate.js @@ -287,7 +287,7 @@ Zotero.Utilities.Translate.prototype.retrieveDocument = function(url) { } var hiddenBrowser = Zotero.Browser.createHiddenBrowser(); - if(translate.cookieSandbox) translate.cookieSandbox.attachToBrowser(hiddenBrowser); + if(this._translate.cookieSandbox) this._translate.cookieSandbox.attachToBrowser(hiddenBrowser); hiddenBrowser.addEventListener("pageshow", listener, true); hiddenBrowser.loadURI(url);