Merge branch '4.0'

This commit is contained in:
Dan Stillman 2015-07-18 07:09:53 -04:00
commit 5c523d8694
112 changed files with 3659 additions and 1584 deletions

View file

@ -472,6 +472,16 @@ function generateAllTypesAndFieldsData() {
lastName: typeName + 'Last'
});
}
// Also add a single-field mode author, which is valid for all types
let primaryCreatorType = Zotero.CreatorTypes.getName(
Zotero.CreatorTypes.getPrimaryIDForType(itemTypes[i].id)
);
creators.push({
creatorType: primaryCreatorType,
lastName: 'Institutional Author',
fieldMode: 1
});
}
return data;