mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 01:03:18 +08:00
Merge pull request #5457 from G-Chubinidze/gc_SCI_8302
Reports bottom action toolbar position update [SCI-8302]
This commit is contained in:
commit
2bbeef0775
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,7 @@
|
|||
function updateButtons() {
|
||||
if (window.actionToolbarComponent) {
|
||||
window.actionToolbarComponent.fetchActions({ report_ids: CHECKBOX_SELECTOR.selectedRows });
|
||||
$('.dataTables_scrollBody').css('padding-bottom', `${CHECKBOX_SELECTOR.selectedRows.length > 0 ? 68 : 0}px`);
|
||||
}
|
||||
|
||||
const rowsCount = CHECKBOX_SELECTOR.selectedRows.length;
|
||||
|
@ -210,6 +211,7 @@
|
|||
createdRow: addAttributesToRow,
|
||||
initComplete: function(settings) {
|
||||
initActionToolbar();
|
||||
actionToolbarComponent.setBottomOffset(75);
|
||||
|
||||
const { nTableWrapper: dataTableWrapper } = settings;
|
||||
CHECKBOX_SELECTOR = new DataTableCheckboxes(dataTableWrapper, {
|
||||
|
|
Loading…
Reference in a new issue