From 068ddebd35f30273a7b703cb6a88893a35db385c Mon Sep 17 00:00:00 2001 From: "giandonato.inverso@edempg.it" Date: Mon, 4 Mar 2024 14:36:18 +0100 Subject: [PATCH] bug fix bulk download --- src/dist/js/custom.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dist/js/custom.js b/src/dist/js/custom.js index 256bbc2..4ebb9d3 100644 --- a/src/dist/js/custom.js +++ b/src/dist/js/custom.js @@ -427,10 +427,16 @@ if (bulk_action) { bulk_action.on('change', function() { if ($(this).prop('checked')) { + const bulkActionDiv = document.getElementById('bulk-action-div'); + bulkActionDiv.style.display = 'block'; + $('input[name^=action]').each(function() { $(this).prop('checked', true); }); } else { + const bulkActionDiv = document.getElementById('bulk-action-div'); + bulkActionDiv.style.display = 'none'; + $('input[name^=action]').each(function() { $(this).prop('checked', false); });