Fix display of note titles on startup (regression from noteSchemaVersion)

This commit is contained in:
Dan Stillman 2020-08-29 18:22:21 -04:00
parent 4142f4b316
commit 63a416db40

View file

@ -760,7 +760,7 @@ Zotero.Item.prototype.setField = function(field, value, loadIn) {
} }
if (loadIn && this.isNote() && field == Zotero.ItemFields.getID('title')) { if (loadIn && this.isNote() && field == Zotero.ItemFields.getID('title')) {
this._noteTitle = value ? value : ""; this._note.title = value ? value : "";
return true; return true;
} }