Don't require done function in ZU.processDocuments

This commit is contained in:
Simon Kornblith 2011-07-02 00:17:33 +00:00
parent 01086afd43
commit e63e917ecf

View file

@ -905,7 +905,7 @@ Zotero.Utilities.Translate.prototype.processDocuments = function(urls, processor
var translate = this._translate;
translate.incrementAsyncProcesses();
Zotero.HTTP.processDocuments(urls, processor, function() {
done();
if(done) done();
translate.decrementAsyncProcesses();
}, exception);
}