mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 21:21:15 -07:00
Fix expanding child DataTables
This commit is contained in:
parent
ecb66f39c9
commit
3fffbcbe36
2 changed files with 5 additions and 5 deletions
|
@ -464,7 +464,7 @@ function childTableOptions(rowData) {
|
||||||
history_child_options.lengthChange = false;
|
history_child_options.lengthChange = false;
|
||||||
history_child_options.info = false;
|
history_child_options.info = false;
|
||||||
history_child_options.pageLength = 10;
|
history_child_options.pageLength = 10;
|
||||||
history_child_options.bStateSave = false;
|
history_child_options.saveState = false;
|
||||||
history_child_options.ajax = {
|
history_child_options.ajax = {
|
||||||
url: 'get_history',
|
url: 'get_history',
|
||||||
type: 'post',
|
type: 'post',
|
||||||
|
@ -476,7 +476,7 @@ function childTableOptions(rowData) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
history_child_options.fnDrawCallback = function (settings) {
|
history_child_options.drawCallback = function (settings) {
|
||||||
$('#ajaxMsg').fadeOut();
|
$('#ajaxMsg').fadeOut();
|
||||||
|
|
||||||
// Create the tooltips.
|
// Create the tooltips.
|
||||||
|
|
|
@ -364,7 +364,7 @@ function childTableOptionsMedia(rowData) {
|
||||||
media_info_table_options.lengthChange = false;
|
media_info_table_options.lengthChange = false;
|
||||||
media_info_table_options.info = false;
|
media_info_table_options.info = false;
|
||||||
media_info_table_options.pageLength = 10;
|
media_info_table_options.pageLength = 10;
|
||||||
media_info_table_options.bStateSave = false;
|
media_info_table_options.stateSave = false;
|
||||||
media_info_table_options.ajax = {
|
media_info_table_options.ajax = {
|
||||||
url: 'get_library_media_info',
|
url: 'get_library_media_info',
|
||||||
type: 'post',
|
type: 'post',
|
||||||
|
@ -378,7 +378,7 @@ function childTableOptionsMedia(rowData) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
media_info_table_options.fnDrawCallback = function (settings) {
|
media_info_table_options.drawCallback = function (settings) {
|
||||||
$('#ajaxMsg').fadeOut();
|
$('#ajaxMsg').fadeOut();
|
||||||
|
|
||||||
// Create the tooltips.
|
// Create the tooltips.
|
||||||
|
@ -430,7 +430,7 @@ function childTableOptionsMedia(rowData) {
|
||||||
|
|
||||||
$(this).closest('div.slider').slideDown();
|
$(this).closest('div.slider').slideDown();
|
||||||
}
|
}
|
||||||
media_info_table_options.fnRowCallback = function (row, rowData, rowIndex) {
|
media_info_table_options.rowCallback = function (row, rowData, rowIndex) {
|
||||||
if (rowData['rating_key'] in media_info_child_table) {
|
if (rowData['rating_key'] in media_info_child_table) {
|
||||||
// if a child table was already created
|
// if a child table was already created
|
||||||
$(row).addClass('shown')
|
$(row).addClass('shown')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue