projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ef26a4
)
CRM-19272 Error hiding level 3 child groups
author
francescbassas
<francesc@babu.cat>
Mon, 29 Aug 2016 17:24:44 +0000
(19:24 +0200)
committer
GitHub
<noreply@github.com>
Mon, 29 Aug 2016 17:24:44 +0000
(19:24 +0200)
templates/CRM/Group/Form/Search.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/Group/Form/Search.tpl
b/templates/CRM/Group/Form/Search.tpl
index 9101c6ceeb7ac3d48901b420108c6736083f82b9..8dc028d7b7b8f42f390b873c798fe9ec7c261b8a 100644
(file)
--- 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();
});
}