From a5403b74995abeabeff7454a126c6b5b69cf34d9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 19 Jun 2015 16:00:51 -0400 Subject: [PATCH] Always include 'note' property in item JSON for notes in 'new' mode --- chrome/content/zotero/xpcom/data/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index 1f6796da0..49f572f62 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -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; } }