Fix broken support test after 220cf2c29

This commit is contained in:
Dan Stillman 2016-03-21 01:33:37 -04:00
parent 20ece48a57
commit e70f2164c1

View file

@ -674,7 +674,7 @@ var generateTranslatorExportData = Zotero.Promise.coroutine(function* generateTr
for (let itemName in items) {
let zItem = yield Zotero.Items.getAsync(items[itemName].id);
itemGetter._itemsLeft = [zItem];
translatorExportData[itemName] = yield itemGetter.nextItem();
translatorExportData[itemName] = itemGetter.nextItem();
// Don't replace some fields that _always_ change (e.g. item keys)
if (!currentData || !currentData[itemName]) continue;