activating note opens dialog with its detail

This commit is contained in:
azivner
2018-12-24 12:49:27 +01:00
parent e0028ab6f1
commit 35cf8026b0
3 changed files with 50 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ async function showTree() {
treeService.setCurrentNotePathToHash(node);
noteDetailService.switchToNote(noteId, true);
$("#detail").modal();
},
expand: (event, data) => treeService.setExpandedToServer(data.node.data.branchId, true),
collapse: (event, data) => treeService.setExpandedToServer(data.node.data.branchId, false),