make sure notification is closed when saving/creating filter

This commit is contained in:
Andrew Dolgov 2022-01-25 22:39:18 +03:00
parent c57ebf2c10
commit 478c9b64a9
1 changed files with 2 additions and 0 deletions

View File

@ -398,6 +398,8 @@ const Filters = {
xhr.post("backend.php", this.attr('value'), () => { xhr.post("backend.php", this.attr('value'), () => {
dialog.hide(); dialog.hide();
Notify.close();
const tree = dijit.byId("filterTree"); const tree = dijit.byId("filterTree");
if (tree) tree.reload(); if (tree) tree.reload();
}); });