Project

General

Profile

Defect #42369 » patch_toggle_all_group.diff

Anton Nekrasov, 2025-03-07 04:13

View differences:

app/assets/javascripts/application.js
if ($(this).hasClass('group')) {
$(this).removeClass('open');
$(this).find('.expander').switchClass('icon-expanded', 'icon-collapsed');
updateSVGIcon($(this).find('.expander')[0], 'angle-right')
} else {
$(this).hide();
}
......
if ($(this).hasClass('group')) {
$(this).addClass('open');
$(this).find('.expander').switchClass('icon-collapsed', 'icon-expanded');
updateSVGIcon($(this).find('.expander')[0], 'angle-down')
} else {
$(this).show();
}
(3-3/3)