mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Fix history table modal loading
This commit is contained in:
parent
31144c1ed4
commit
8928a3c901
1 changed files with 3 additions and 6 deletions
|
@ -46,8 +46,9 @@
|
|||
|
||||
<script src="${http_root}js/tables/history_table.js${cache_param}"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#date-header').html(moment('${data["start_date"]}','YYYY-MM-DD').format('ddd MMM Do YYYY'));
|
||||
$('#date-header').html(moment('${data["start_date"]}','YYYY-MM-DD').format('ddd MMM Do YYYY'));
|
||||
|
||||
$('#history-modal').off('shown.bs.modal').on('shown.bs.modal', function() {
|
||||
history_table_options.ajax = {
|
||||
url: 'get_history',
|
||||
data: function ( d ) {
|
||||
|
@ -65,10 +66,6 @@
|
|||
history_table.columns([0, 3, 4, 5, 9, 11, 12]).visible(false);
|
||||
|
||||
clearSearchButton('history_table_modal', history_table);
|
||||
|
||||
$('#history-modal').on('shown.bs.modal', function() {
|
||||
history_table.columns.adjust().draw();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
% else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue