From 7bf973dd3275e338963d96d7a0e2725beaa886e8 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 15 Nov 2020 14:30:00 +0100 Subject: [PATCH] Fix stock entries page dropdown menu overflow (references #1129) --- public/viewjs/stockentries.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/viewjs/stockentries.js b/public/viewjs/stockentries.js index 580a8972..dd81a17e 100644 --- a/public/viewjs/stockentries.js +++ b/public/viewjs/stockentries.js @@ -6,6 +6,9 @@ ], }); $('#stockentries-table tbody').removeClass("d-none"); +stockEntriesTable.columns.adjust().draw(); +$('.dataTables_scrollBody').addClass("dragscroll"); +dragscroll.reset(); $.fn.dataTable.ext.search.push(function(settings, data, dataIndex) {