mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°3540 - Migrate printable version of an object
This commit is contained in:
@@ -137,7 +137,7 @@ var oTable{{ sListId }} = $('#{{ oUIBlock.GetId() }}').DataTable({
|
||||
pages: 5 // number of pages to cache
|
||||
}),
|
||||
initComplete: function () {
|
||||
if (this.api().page.info().pages === 1) {
|
||||
if (this.api().page.info().pages < 2) {
|
||||
this.parent().find('.dataTables_paginate').hide();
|
||||
this.parent().find('.dataTables_length').hide();
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@ $('#{{ oUIBlock.GetId() }}').DataTable({
|
||||
},
|
||||
paging: false,
|
||||
filter: false,
|
||||
search: false
|
||||
search: false,
|
||||
dom: "t"
|
||||
});
|
||||
Reference in New Issue
Block a user