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.
1 parent 2cf85fb commit c1b9cb6Copy full SHA for c1b9cb6
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