mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
redesign of search input. Saved search is now saved under active note and doesn't need page reload
This commit is contained in:
@@ -91,10 +91,10 @@ $("#note-menu-button").click(async e => {
|
||||
const parentNoteId = node.data.parentNoteId;
|
||||
const isProtected = treeUtils.getParentProtectedStatus(node);
|
||||
|
||||
treeService.createNote(node, parentNoteId, 'after', null, isProtected);
|
||||
treeService.createNote(node, parentNoteId, 'after', { isProtected: isProtected });
|
||||
}
|
||||
else if (cmd === "insertChildNote") {
|
||||
treeService.createNote(node, node.data.noteId, 'into', null);
|
||||
treeService.createNote(node, node.data.noteId, 'into');
|
||||
}
|
||||
else if (cmd === "delete") {
|
||||
treeChangesService.deleteNodes([node]);
|
||||
|
||||
Reference in New Issue
Block a user