.on('click.crmExpandRow', 'a.crm-expand-row', function(e) {
var $row = $(this).closest('tr');
if ($(this).hasClass('expanded')) {
.on('click.crmExpandRow', 'a.crm-expand-row', function(e) {
var $row = $(this).closest('tr');
if ($(this).hasClass('expanded')) {
- CRM.loadPage(this.href, {target: $('td', $newRow.animate({height: '3em'}, 'fast'))});
+ CRM.loadPage(this.href, {target: $('div', $newRow).animate({minHeight: '3em'}, 'fast')});