#11326 fixed pagination with multiples datatable

This commit is contained in:
Daniel Cebrian 2023-07-18 14:52:34 +02:00
parent 0e2d1ee47f
commit 6eaa8e9cd8
1 changed files with 2 additions and 2 deletions

View File

@ -4261,7 +4261,7 @@ function ui_print_datatable(array $parameters)
$("div.dt-buttons").hide();
if (dt_'.$table_id.'.page.info().pages > 1) {
$(".dataTables_paginate.paging_simple_numbers").show()
$("#'.$table_id.'_wrapper > .dataTables_paginate.paging_simple_numbers").show()
}
} else {
$(".datatable-msg-info-'.$table_id.'").hide();
@ -4272,7 +4272,7 @@ function ui_print_datatable(array $parameters)
$("div.dt-buttons").show();
if (dt_'.$table_id.'.page.info().pages == 1) {
$(".dataTables_paginate.paging_simple_numbers").hide()
$("#'.$table_id.'_wrapper > .dataTables_paginate.paging_simple_numbers").hide()
}
}';