From f1dc556e366417189c7dfb933b269bd54ff62197 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 20 Dec 2011 00:59:33 -0500 Subject: [PATCH] Fix retrieveSource --- chrome/content/zotero/xpcom/utilities_translate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/utilities_translate.js b/chrome/content/zotero/xpcom/utilities_translate.js index 6abbd290fa..4fcf334275 100644 --- a/chrome/content/zotero/xpcom/utilities_translate.js +++ b/chrome/content/zotero/xpcom/utilities_translate.js @@ -340,9 +340,9 @@ Zotero.Utilities.Translate.prototype.retrieveSource = function(url, body, header var listener = function() { finished = true }; if(body) { - var xmlhttp = Zotero.HTTP.doPost(url, body, listener, headers, responseCharset, translate.cookieSandbox); + var xmlhttp = Zotero.HTTP.doPost(url, body, listener, headers, responseCharset, this._translate.cookieSandbox); } else { - var xmlhttp = Zotero.HTTP.doGet(url, listener, responseCharset, translate.cookieSandbox); + var xmlhttp = Zotero.HTTP.doGet(url, listener, responseCharset, this._translate.cookieSandbox); } while(!finished) mainThread.processNextEvent(true);