Always include 'note' property in item JSON for notes in 'new' mode

This commit is contained in:
Dan Stillman 2015-06-19 16:00:51 -04:00
parent dcd7de03b0
commit a5403b7499

View File

@ -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;
}
}