mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
client: Fix default focus of "Include note" dialog (closes #365)
This commit is contained in:
@@ -76,6 +76,10 @@ export default class IncludeNoteDialog extends BasicWidget {
|
||||
this.textTypeWidget = textTypeWidget;
|
||||
await this.refresh();
|
||||
utils.openDialog(this.$widget);
|
||||
|
||||
this.$autoComplete
|
||||
.trigger('focus')
|
||||
.trigger('select'); // to be able to quickly remove entered text
|
||||
}
|
||||
|
||||
async refresh(widget) {
|
||||
|
||||
Reference in New Issue
Block a user