mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
#11326 fixed pagination with multiples datatable
This commit is contained in:
parent
0e2d1ee47f
commit
6eaa8e9cd8
@ -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()
|
||||
}
|
||||
}';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user