Merge pull request #2810 from friedPotat0/quarantinetable

Minor adjustments to tables in UI
This commit is contained in:
André Peters
2019-07-27 19:40:43 +02:00
committed by GitHub
6 changed files with 68 additions and 17 deletions

View File

@@ -63,6 +63,7 @@ jQuery(function($){
"paging": {"enabled": true,"limit": 5,"size": pagination_size},
"sorting": {"enabled": true},
"filtering": {"enabled": true,"position": "left","connectors": false,"placeholder": lang.filter_table},
"toggleSelector": "table tbody span.footable-toggle"
});
}
@@ -117,6 +118,10 @@ jQuery(function($){
});
});
$('body').on('click', 'span.footable-toggle', function () {
event.stopPropagation();
})
// Initial table drawings
draw_quarantine_table();
});