From 702c464c7472596022af17ff388793acfad008bb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 9 Feb 2018 10:10:31 -0300 Subject: [PATCH] Bug 20157: Correctly hide the features for non first level groups Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/admin/library_groups.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt index e54a08a9e8..2195883c66 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt @@ -59,9 +59,9 @@ $('#add-group-modal-ft_search_groups_opac').prop('checked', false); $('#add-group-modal-ft_search_groups_staff').prop('checked', false); if ( parent_id ) { - $('#root-group-features-edit').hide(); + $('#root-group-features-add').hide(); } else { - $('#root-group-features-edit').show(); + $('#root-group-features-add').show(); } $('#add-group-modal').modal('show'); } -- 2.39.5