mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Remove unchecked data before serializing
This commit is contained in:
parent
2f61e417bc
commit
833031dbdf
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ Zotero_TranslatorTester.prototype._checkResult = function(test, translate, retur
|
|||
var translatedItem = Zotero_TranslatorTester._sanitizeItem(translate.newItems[i]);
|
||||
|
||||
if(!this._compare(testItem, translatedItem)) {
|
||||
test.translatedItem = testItem;
|
||||
test.itemReturned = Zotero_TranslatorTester._sanitizeItem(test.items[i], true);
|
||||
testDoneCallback(this, test, "unknown", "Item "+i+" does not match");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue