Scaffold: Correct field help

This commit is contained in:
Abe Jellinek 2024-11-26 11:03:12 -05:00
parent 5a005b9adb
commit 0e2427fc9f

View file

@ -959,10 +959,10 @@ var Scaffold = new function () {
var creatorList = Zotero.CreatorTypes.getTypesForItemType(typeID);
var creators = [];
for (let creatorType of creatorList) {
creators.push({ firstName: "", lastName: "", creatorType: creatorType.name, fieldMode: true });
creators.push({ firstName: "", lastName: "", creatorType: creatorType.name, fieldMode: 1 });
}
outputObject.creators = creators;
outputObject.attachments = [{ url: "", document: "", title: "", mimeType: "" }];
outputObject.attachments = [{ url: "", document: {}, title: "", mimeType: "", snapshot: false }];
outputObject.tags = [{ tag: "" }];
outputObject.notes = [{ note: "" }];
outputObject.seeAlso = [];