Also fix retrieveDocument

This commit is contained in:
Simon Kornblith 2011-12-20 01:03:09 -05:00
parent f1dc556e36
commit c7df8c879c

View File

@ -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);