mirror of
https://github.com/zadam/trilium.git
synced 2025-01-21 06:28:05 +08:00
recent notes are not closed when I click on e.g. dialog title bar
This commit is contained in:
parent
7b77e40514
commit
58f5d0cf6e
1 changed files with 3 additions and 2 deletions
|
@ -59,8 +59,9 @@ const recentNotes = (function() {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
},
|
},
|
||||||
close: function (event, ui) {
|
close: function (event, ui) {
|
||||||
$searchInput.autocomplete('destroy');
|
// keep autocomplete open
|
||||||
$dialog.dialog('close');
|
// we're kind of abusing autocomplete to work in a way which it's not designed for
|
||||||
|
$searchInput.autocomplete("search", "")
|
||||||
},
|
},
|
||||||
create: () => $searchInput.autocomplete("search", ""),
|
create: () => $searchInput.autocomplete("search", ""),
|
||||||
classes: {
|
classes: {
|
||||||
|
|
Loading…
Reference in a new issue