commit f1dc556e366417189c7dfb933b269bd54ff62197
parent 04b5b74dd93233dc4a785dd7295178017e3a6679
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 20 Dec 2011 00:59:33 -0500
Fix retrieveSource
Diffstat:
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
@@ -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);