From 15dce82e7cb6c10af472fadd4f57a987c0955aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Sun, 27 Feb 2022 12:35:12 +0100 Subject: [PATCH] multiselect group action fix --- assets/datagrid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/datagrid.js b/assets/datagrid.js index d3c97db7..6f5a74e5 100644 --- a/assets/datagrid.js +++ b/assets/datagrid.js @@ -839,8 +839,8 @@ datagridGroupActionMultiSelect = function() { $(this).removeAttr('id'); id = $(this).data('datagrid-multiselect-id'); $(this).on('loaded.bs.select', function(e) { - $(this).parent().attr('style', 'display:none;'); - return $(this).parent().find('.hidden').removeClass('hidden').addClass('btn-default btn-secondary'); + $(this).parent().attr('hidden', true); + return $(this).parent().find('.hidden').removeClass('hidden').addClass('btn-default btn-light'); }); return $(this).on('rendered.bs.select', function(e) { return $(this).parent().attr('id', id);