From 9880056f6b9ee4ee986245d9780c18aaab0853dd Mon Sep 17 00:00:00 2001 From: "deb.monish" Date: Mon, 18 Jul 2016 15:23:19 +0530 Subject: [PATCH] CRM-19096: Parent group arrow mis-aligned --- templates/CRM/Group/Form/Search.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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}, -- 2.25.1