[BS5] adjust admin refresh_table function
This commit is contained in:
parent
09ae37410e
commit
6210f06bc0
@ -59,9 +59,7 @@ jQuery(function($){
|
|||||||
$(".refresh_table").on('click', function(e) {
|
$(".refresh_table").on('click', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var table_name = $(this).data('table');
|
var table_name = $(this).data('table');
|
||||||
$('#' + table_name).find("tr.footable-empty").remove();
|
$('#' + table_name).DataTable().ajax.reload();
|
||||||
draw_table = $(this).data('draw');
|
|
||||||
eval(draw_table + '()');
|
|
||||||
});
|
});
|
||||||
function draw_domain_admins() {
|
function draw_domain_admins() {
|
||||||
$('#domainadminstable').DataTable({
|
$('#domainadminstable').DataTable({
|
||||||
|
Loading…
Reference in New Issue
Block a user