Fix breakage from r9839

This commit is contained in:
Simon Kornblith 2011-07-13 03:06:00 +00:00
parent e0a73db0db
commit ff90005ed2

View file

@ -1389,12 +1389,12 @@ Zotero.Translate.Web.prototype.translate = function(libraryID, saveAttachments,
}
/**
* Overload _translateHaveTranslator to send an RPC call if necessary
* Overload _translateTranslatorLoaded to send an RPC call if necessary
*/
Zotero.Translate.Web.prototype._translateTranslatorLoaded = function() {
if(this.translator[0].runMode === Zotero.Translator.RUN_MODE_IN_BROWSER) {
// begin process to run translator in browser
Zotero.Translate.Base.prototype._translateHaveTranslator.apply(this);
Zotero.Translate.Base.prototype._translateTranslatorLoaded.apply(this);
} else {
// otherwise, ferry translator load to RPC
var me = this;