From 833031dbdf4ae1c2ff06704ec649d1aacaf006fa Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 20 Feb 2012 16:20:50 -0500 Subject: [PATCH] Remove unchecked data before serializing --- chrome/content/zotero/tools/testTranslators/translatorTester.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index 4a6b4569e3..725c61e12b 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -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; }