This commit is contained in:
azivner
2018-04-06 18:49:37 -04:00
parent 29769ed91d
commit 9b5a44cef4
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ const contextMenuOptions = {
],
beforeOpen: async (event, ui) => {
const node = $.ui.fancytree.getNode(ui.target);
const branch = await treeCache.getBranch(branchId);
const branch = await treeCache.getBranch(node.data.branchId);
const note = await treeCache.getNote(node.data.noteId);
const parentNote = await treeCache.getNote(branch.parentNoteId);