From: francescbassas Date: Mon, 29 Aug 2016 17:24:44 +0000 (+0200) Subject: CRM-19272 Error hiding level 3 child groups X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=142c16ed83c643926a8b0545423c9ba520a0b694;p=civicrm-core.git CRM-19272 Error hiding level 3 child groups --- diff --git a/templates/CRM/Group/Form/Search.tpl b/templates/CRM/Group/Form/Search.tpl index 9101c6ceeb..8dc028d7b7 100644 --- a/templates/CRM/Group/Form/Search.tpl +++ b/templates/CRM/Group/Form/Search.tpl @@ -189,7 +189,7 @@ $('.parent_is_' + parent_id).hide(); $('.parent_is_' + parent_id).each(function(i, obj) { // also hide children of children - var gID = $(this).find('td:nth-child(2)').text(); + var gID = $(this).data('id'); $('.parent_is_' + gID).hide(); }); }