commit 3de5ed1332aaa47a56b72ef37ba258f8db7e39d0 parent 41fe8365a9e24ab9a9d25f64fca76d1c981ef9c9 Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 10 Jun 2016 19:44:33 -0400 Don't show "false" for empty notes after restart 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 @@ -752,7 +752,7 @@ Zotero.Item.prototype.setField = function(field, value, loadIn) { } if (loadIn && this.isNote() && field == 110) { // title - this._noteTitle = value; + this._noteTitle = value ? value : ""; return true; }