8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d542d54 + c1b9cb6 commit e2af261Copy full SHA for e2af261
app/assets/javascripts/active_admin/lib/batch_actions.es6
@@ -41,7 +41,7 @@ const onDOMReady = function() {
41
}
42
43
$(document).on('change', '.paginated_collection :checkbox', function() {
44
- if ($(".paginated_collection :checkbox:checked").length) {
+ if ($(".paginated_collection :checkbox:checked").length && $(".dropdown_menu_list").children().length) {
45
$(".batch_actions_selector").each(function() { $(this).aaDropdownMenu("enable"); });
46
} else {
47
$(".batch_actions_selector").each(function() { $(this).aaDropdownMenu("disable"); });
0 commit comments