Another attempt at getting tests working for translation via server
This commit is contained in:
parent
4fd978905c
commit
4e015ecbe9
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ Zotero_TranslatorTester.prototype._runTestTranslate = function(translate, transl
|
|||
if(!translators.length) {
|
||||
testDoneCallback(this, test, "failed", "Detection failed");
|
||||
return;
|
||||
} else if(this.type === "web" && translators[0].itemType !== "server"
|
||||
} else if(this.type === "web" && translators[0].itemType !== Zotero.Translator.RUN_MODE_ZOTERO_SERVER
|
||||
&& (translators[0].itemType !== "multiple" && test.items.length > 1 ||
|
||||
test.items.length === 1 && translators[0].itemType !== test.items[0].itemType)) {
|
||||
// this handles "items":"multiple" too, since the string has length 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue