fix "search in fulltext" button on "jump to note" dialog.

This commit is contained in:
zadam
2020-08-31 20:46:55 +02:00
parent 98f1bc51a5
commit 408ed8dbf0
3 changed files with 7 additions and 6 deletions

View File

@@ -30,9 +30,8 @@ function showInFullText(e) {
const searchText = $autoComplete.val();
searchNotesService.resetSearch();
searchNotesService.showSearch();
searchNotesService.doSearch(searchText);
appContext.triggerCommand('showSearch', {searchText});
appContext.triggerCommand('searchForResults', {searchText});
$dialog.modal('hide');
}