mirror of
https://github.com/zotero/zotero.git
synced 2026-09-27 01:21:27 +00:00
Always include 'note' property in item JSON for notes in 'new' mode
This commit is contained in:
parent
dcd7de03b0
commit
a5403b7499
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue