mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
unified Jump-To and quick search behavior with regards to hoisting and opening in a new tab
This commit is contained in:
@@ -150,11 +150,9 @@ export default class QuickSearchWidget extends BasicWidget {
|
||||
async showInFullSearch() {
|
||||
this.$dropdownToggle.dropdown("hide");
|
||||
|
||||
const searchNote = await dateNotesService.createSearchNote({searchString: this.$searchString.val()});
|
||||
|
||||
await froca.loadSearchNote(searchNote.noteId);
|
||||
|
||||
await appContext.tabManager.getActiveContext().setNote(searchNote.noteId);
|
||||
await appContext.triggerCommand('searchNotes', {
|
||||
searchString: this.$searchString.val()
|
||||
});
|
||||
}
|
||||
|
||||
quickSearchEvent() {
|
||||
|
||||
Reference in New Issue
Block a user