Fix note loading
This commit is contained in:
parent
536cd867d7
commit
06867d886e
1 changed files with 1 additions and 0 deletions
|
@ -1294,6 +1294,7 @@ var ZoteroPane = new function()
|
||||||
var clearUndo = noteEditor.item ? noteEditor.item.id != item.id : false;
|
var clearUndo = noteEditor.item ? noteEditor.item.id != item.id : false;
|
||||||
|
|
||||||
noteEditor.parent = null;
|
noteEditor.parent = null;
|
||||||
|
yield item.loadNote();
|
||||||
noteEditor.item = item;
|
noteEditor.item = item;
|
||||||
|
|
||||||
// If loading new or different note, disable undo while we repopulate the text field
|
// If loading new or different note, disable undo while we repopulate the text field
|
||||||
|
|
Loading…
Reference in a new issue