Always include 'note' property in item JSON for notes in 'new' mode
This commit is contained in:
parent
dcd7de03b0
commit
a5403b7499
|
@ -5011,7 +5011,7 @@ Zotero.Item.prototype.toJSON = function(options) {
|
|||
|
||||
// Notes and embedded attachment notes
|
||||
let note = this.getNote();
|
||||
if (note !== "" || mode == 'full') {
|
||||
if (note !== "" || mode == 'full' || (mode == 'new' && this.isNote())) {
|
||||
obj.note = note;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user