mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-22 18:04:44 +00:00
ui: fix global filters ui tickbox reappearing (#6966)
This commit is contained in:
parent
12e02e67ff
commit
1fe4cd03e9
1 changed files with 9 additions and 0 deletions
|
|
@ -54,7 +54,16 @@ jQuery(function($){
|
|||
$.get("/inc/ajax/show_rspamd_global_filters.php");
|
||||
$("#confirm_show_rspamd_global_filters").hide();
|
||||
$("#rspamd_global_filters").removeClass("d-none");
|
||||
localStorage.setItem('rspamd_global_filters_confirmed', 'true');
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
if (localStorage.getItem('rspamd_global_filters_confirmed') === 'true') {
|
||||
$("#confirm_show_rspamd_global_filters").hide();
|
||||
$("#rspamd_global_filters").removeClass("d-none");
|
||||
}
|
||||
});
|
||||
|
||||
$("#super_delete").click(function() { return confirm(lang.queue_ays); });
|
||||
|
||||
$(".refresh_table").on('click', function(e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue