bug fix bulk download
This commit is contained in:
Vendored
+6
@@ -427,10 +427,16 @@
|
|||||||
if (bulk_action) {
|
if (bulk_action) {
|
||||||
bulk_action.on('change', function() {
|
bulk_action.on('change', function() {
|
||||||
if ($(this).prop('checked')) {
|
if ($(this).prop('checked')) {
|
||||||
|
const bulkActionDiv = document.getElementById('bulk-action-div');
|
||||||
|
bulkActionDiv.style.display = 'block';
|
||||||
|
|
||||||
$('input[name^=action]').each(function() {
|
$('input[name^=action]').each(function() {
|
||||||
$(this).prop('checked', true);
|
$(this).prop('checked', true);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
const bulkActionDiv = document.getElementById('bulk-action-div');
|
||||||
|
bulkActionDiv.style.display = 'none';
|
||||||
|
|
||||||
$('input[name^=action]').each(function() {
|
$('input[name^=action]').each(function() {
|
||||||
$(this).prop('checked', false);
|
$(this).prop('checked', false);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user