diff --git a/public/javascripts/note_tree.js b/public/javascripts/note_tree.js index 631322240..393202a3f 100644 --- a/public/javascripts/note_tree.js +++ b/public/javascripts/note_tree.js @@ -614,6 +614,8 @@ const noteTree = (function() { setParentChildRelation(result.note_tree_id, parentNoteId, result.note_id); + notesTreeMap[result.note_tree_id] = result; + noteIdToTitle[result.note_id] = newNoteName; noteEditor.newNoteCreated();