CRM-18184 - Fix expanding subgroups in manage-groups-view
authorNiels Heinemann <heinemann@kompetenzz.de>
Thu, 10 Mar 2016 09:53:20 +0000 (10:53 +0100)
committerNiels Heinemann <heinemann@kompetenzz.de>
Thu, 10 Mar 2016 09:53:20 +0000 (10:53 +0100)
----------------------------------------
* CRM-18184: Manage groups: Can't expand sub groups if title editable
  https://issues.civicrm.org/jira/browse/CRM-18184

templates/CRM/Group/Form/Search.tpl

index ddaf95c54e962e39673f8ce4a46d72e9998cc962..6614b2bb94914d746ba0b1ae7f3dfcb4a386cf08 100644 (file)
                   appendHTML += '<td class="crm-group-name crmf-title crm-editable ' + levelClass + '">' + '{/literal}<span class="collapsed show-children" title="{ts}show child groups{/ts}"/></span>{literal}' + val.title + '</td>';
                 }
                 else {
-                  appendHTML += '<td class="crm-group-name  crmf-title crm-editable ' + levelClass + '"><span class="crm-no-children"></span>' + val.title + '</td>';
+                  appendHTML += '<td class="' + levelClass + '">' + '{/literal}<span class="collapsed show-children" title="{ts}show child groups{/ts}"/></span><span class="crm-group-name crmf-title crm-editable">{literal}' + val.title + '</span></td>';
                 }
                 appendHTML += '<td class="right">' + val.count + "</td>";
                 appendHTML += "<td>" + val.created_by + "</td>";