Fix retrieveSource
This commit is contained in:
parent
04b5b74dd9
commit
f1dc556e36
1 changed files with 2 additions and 2 deletions
|
@ -340,9 +340,9 @@ Zotero.Utilities.Translate.prototype.retrieveSource = function(url, body, header
|
||||||
var listener = function() { finished = true };
|
var listener = function() { finished = true };
|
||||||
|
|
||||||
if(body) {
|
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 {
|
} 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);
|
while(!finished) mainThread.processNextEvent(true);
|
||||||
|
|
Loading…
Reference in a new issue