commit a5403b74995abeabeff7454a126c6b5b69cf34d9 parent dcd7de03b09351f28502ba69c9c2fd58e36a0736 Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 19 Jun 2015 16:00:51 -0400 Always include 'note' property in item JSON for notes in 'new' mode Diffstat:
| M | 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 @@ -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; } }