From: deb.monish Date: Mon, 18 Jul 2016 09:53:19 +0000 (+0530) Subject: CRM-19096: Parent group arrow mis-aligned X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9880056f6b9ee4ee986245d9780c18aaab0853dd;p=civicrm-core.git CRM-19096: Parent group arrow mis-aligned --- diff --git a/templates/CRM/Group/Form/Search.tpl b/templates/CRM/Group/Form/Search.tpl index 26107935fc..db91747d96 100644 --- a/templates/CRM/Group/Form/Search.tpl +++ b/templates/CRM/Group/Form/Search.tpl @@ -124,7 +124,7 @@ } }, "language": { - "zeroRecords": ZeroRecordText + "zeroRecords": ZeroRecordText }, "drawCallback": function(settings) { //Add data attributes to cells @@ -142,8 +142,8 @@ //Reload table after draw $(settings.nTable).trigger('crmLoad'); if (parentsOnly) { - $('tbody tr.crm-group-parent', settings.nTable).each( function() { - $(this).find('td:first').prepend('{/literal}{literal}'); + $('tbody tr.crm-group-parent td:first', settings.nTable).each( function() { + $(this).prepend('{/literal}{literal}').find('div').css({'display': 'inline'}); }); } } @@ -201,7 +201,7 @@ // child rows for this parent have already been retrieved so just show them $('.parent_is_' + parent_id ).show(); } else { - //FIXME Is it possible to replace all this with a datatables call? + //FIXME Is it possible to replace all this with a datatables call? $.ajax( { "dataType": 'json', "url": {/literal}'{crmURL p="civicrm/ajax/grouplist" h=0 q="snippet=4"}'{literal},