Bug 20157: Correctly hide the features for non first level groups
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Feb 2018 13:10:31 +0000 (10:10 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Feb 2018 18:42:21 +0000 (15:42 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt

index e54a08a..2195883 100644 (file)
@@ -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');
     }