Skip to content

Commit

Permalink
[BS5] adjust admin refresh_table function
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddleSpl0it committed Jun 8, 2022
1 parent 09ae374 commit 6210f06
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions data/web/js/site/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 6210f06

Please sign in to comment.