mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
Merge remote-tracking branch 'origin/develop' into feature/touchbar
This commit is contained in:
@@ -420,6 +420,9 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
// click event won't propagate so let's close context menu manually
|
||||
contextMenu.hide();
|
||||
|
||||
// hide all dropdowns, fix calendar widget dropdown doesn't close when click on a note
|
||||
$('.dropdown-menu').parent('.dropdown').find('[data-bs-toggle="dropdown"]').dropdown('hide');
|
||||
|
||||
this.clearSelectedNodes();
|
||||
|
||||
const notePath = treeService.getNotePath(data.node);
|
||||
@@ -1685,7 +1688,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
this.triggerCommand("showImportDialog", { noteId: node.data.noteId });
|
||||
}
|
||||
|
||||
editNoteTitleCommand({ node }: CommandListenerData<"editNoteTitle">) {
|
||||
editNoteTitleCommand() {
|
||||
appContext.triggerCommand("focusOnTitle");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user