summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2025-04-07 20:24:43 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2025-04-07 20:24:43 +0000
commit3bd0bca1c2ca296ebf2c516e334d51a4141ebb27 (patch)
tree197b205893bb5c01941b9646919ebbe0b24c5174
parentf332a911729b0104c01271acb589f09b86ecbd8c (diff)
downloadredmine-3bd0bca1c2ca296ebf2c516e334d51a4141ebb27.tar.gz
redmine-3bd0bca1c2ca296ebf2c516e334d51a4141ebb27.zip
Merge r23606 from trunk to 6.0-stable (#42369).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23608 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/assets/javascripts/application.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js
index 4470caa79..9a22da338 100644
--- a/app/assets/javascripts/application.js
+++ b/app/assets/javascripts/application.js
@@ -66,8 +66,9 @@ function collapseAllRowGroups(el) {
tbody.children('tr').each(function(index) {
if ($(this).hasClass('group')) {
$(this).removeClass('open');
- $(this).find('.expander').switchClass('icon-expanded', 'icon-collapsed');
- updateSVGIcon($(this).find('.expander')[0], 'angle-right')
+ var expander = $(this).find('.expander');
+ expander.switchClass('icon-expanded', 'icon-collapsed');
+ toggleExpendCollapseIcon(expander[0]);
} else {
$(this).hide();
}
@@ -79,8 +80,9 @@ function expandAllRowGroups(el) {
tbody.children('tr').each(function(index) {
if ($(this).hasClass('group')) {
$(this).addClass('open');
- $(this).find('.expander').switchClass('icon-collapsed', 'icon-expanded');
- updateSVGIcon($(this).find('.expander')[0], 'angle-down')
+ var expander = $(this).find('.expander');
+ expander.switchClass('icon-collapsed', 'icon-expanded');
+ toggleExpendCollapseIcon(expander[0]);
} else {
$(this).show();
}