mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
actually commit the modified utilities.js this time
This commit is contained in:
parent
445ff98277
commit
060e2942a0
1 changed files with 6 additions and 6 deletions
|
|
@ -369,7 +369,6 @@ Zotero.Utilities.Ingester.HTTP.prototype.doGet = function(urls, processor, done)
|
|||
throw("invalid URL in processDocuments");
|
||||
}
|
||||
|
||||
var translate = this.translate;
|
||||
var me = this;
|
||||
|
||||
Zotero.Utilities.HTTP.doGet(url, function(xmlhttp) {
|
||||
|
|
@ -378,16 +377,17 @@ Zotero.Utilities.Ingester.HTTP.prototype.doGet = function(urls, processor, done)
|
|||
processor(xmlhttp.responseText, xmlhttp);
|
||||
}
|
||||
|
||||
// call again if multiple urls were passed
|
||||
if(callAgain) {
|
||||
me.doGet(urls, processor, done);
|
||||
} else if(done) {
|
||||
done();
|
||||
} else {
|
||||
if(done) {
|
||||
done();
|
||||
}
|
||||
}
|
||||
} catch(e) {
|
||||
translate._translationComplete(false, e);
|
||||
me.translate._translationComplete(false, e);
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
Zotero.Utilities.Ingester.HTTP.prototype.doPost = function(url, body, onDone) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue