mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Translators should always run in browser when called by a parent translator
This commit is contained in:
parent
ba8bf4910f
commit
603e07d21a
1 changed files with 2 additions and 1 deletions
|
|
@ -1461,7 +1461,8 @@ Zotero.Translate.Web.prototype.translate = function(libraryID, saveAttachments,
|
|||
* 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) {
|
||||
if(this.translator[0].runMode === Zotero.Translator.RUN_MODE_IN_BROWSER
|
||||
|| this._parentTranslator) {
|
||||
// begin process to run translator in browser
|
||||
Zotero.Translate.Base.prototype._translateTranslatorLoaded.apply(this);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue