summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-01-25 22:39:18 +0300
committerAndrew Dolgov <[email protected]>2022-01-25 22:39:18 +0300
commit478c9b64a94261e9b7e68de571bf85144636509e (patch)
tree5f853533ade096df3ee7ecdd2d3344ee3c75300c /js
parentc57ebf2c10e2458d5cecc9c38a7ab168d6934ec5 (diff)
make sure notification is closed when saving/creating filter
Diffstat (limited to 'js')
-rw-r--r--js/CommonFilters.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/CommonFilters.js b/js/CommonFilters.js
index 434ee72c7..1a0ce1606 100644
--- a/js/CommonFilters.js
+++ b/js/CommonFilters.js
@@ -398,6 +398,8 @@ const Filters = {
xhr.post("backend.php", this.attr('value'), () => {
dialog.hide();
+ Notify.close();
+
const tree = dijit.byId("filterTree");
if (tree) tree.reload();
});