From e0a7f4fe5d2c36f9eb67b5b593bab6720cee87a1 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Wed, 27 Oct 2021 14:38:12 -0700 Subject: [PATCH] Fixed issue with children toggling --- View/GrouperGroups/base.ctp | 5 +++++ View/GrouperGroups/groupmember.ctp | 5 +++-- View/GrouperGroups/groupowner.ctp | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/View/GrouperGroups/base.ctp b/View/GrouperGroups/base.ctp index 49e5f20..8afa2cb 100644 --- a/View/GrouperGroups/base.ctp +++ b/View/GrouperGroups/base.ctp @@ -27,4 +27,9 @@ $this->Html->addCrumb(_txt('pl.grouperlite.crumb.root'), array('controller' => ' btn.find('i').removeClass('fa-caret-down').addClass('fa-caret-right'); } }) + + $('.collapse-wg-working-group-parent').on('hide.bs.collapse', function(ev) { + $(this).siblings('.collapse-wg-working-group').collapse('hide'); + $(this).parent().find('.collapse-btn .fa-caret-down').removeClass('fa-caret-down').addClass('fa-caret-right'); + }); \ No newline at end of file diff --git a/View/GrouperGroups/groupmember.ctp b/View/GrouperGroups/groupmember.ctp index 0bdcb07..c5d6d16 100644 --- a/View/GrouperGroups/groupmember.ctp +++ b/View/GrouperGroups/groupmember.ctp @@ -82,7 +82,7 @@ $numColumns = count($columns); - @@ -128,7 +128,7 @@ $numColumns = count($columns); $group) : ?> - + @@ -161,4 +161,5 @@ $numColumns = count($columns);

+ element('Components/subscriberList'); ?> \ No newline at end of file diff --git a/View/GrouperGroups/groupowner.ctp b/View/GrouperGroups/groupowner.ctp index abeced4..81a9584 100644 --- a/View/GrouperGroups/groupowner.ctp +++ b/View/GrouperGroups/groupowner.ctp @@ -179,4 +179,6 @@ $numColumns = count($columns);

+ + element('Components/subscriberList'); ?> \ No newline at end of file