mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Close all node before searching for nodes in admin menus.
This commit is contained in:
parent
56d0c5eaf5
commit
27f2b040af
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ $(document).on("ajaxUI:start ajaxUI:reload", function() {
|
|||
let _this = this;
|
||||
let $search = $($(this).data('treeSearch'));
|
||||
$search.on( 'input', function() {
|
||||
$(_this).treeview('collapseAll', { silent: true });
|
||||
$(_this).treeview('search', [$search.val()]);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue