[BS5] adjust admin refresh_table function

This commit is contained in:
FreddleSpl0it 2022-06-08 12:06:14 +02:00
parent 09ae37410e
commit 6210f06bc0

View File

@ -59,9 +59,7 @@ jQuery(function($){
$(".refresh_table").on('click', function(e) {
e.preventDefault();
var table_name = $(this).data('table');
$('#' + table_name).find("tr.footable-empty").remove();
draw_table = $(this).data('draw');
eval(draw_table + '()');
$('#' + table_name).DataTable().ajax.reload();
});
function draw_domain_admins() {
$('#domainadminstable').DataTable({