}
$activity['DT_RowData'] = array();
- $activity['DT_RowData']['entity'] = 'activity';
- $activity['DT_RowData']['id'] = $activityId;
+ $activity['DT_RowData']['entity'] = 'activity';
+ $activity['DT_RowData']['id'] = $activityId;
$activity['activity_type'] = $values['activity_type'];
$activity['subject'] = $values['subject'];
}
$relationship['DT_RowData'] = array();
- $relationship['DT_RowData']['entity'] = 'relationship';
- $relationship['DT_RowData']['id'] = $values['id'];
+ $relationship['DT_RowData']['entity'] = 'relationship';
+ $relationship['DT_RowData']['id'] = $values['id'];
//Add image icon for related contacts: CRM-14919
$icon = CRM_Contact_BAO_Contact_Utils::getImage($values['contact_type'],
$('thead th', settings.nTable).each( function( index ) {
$.each(this.attributes, function() {
if(this.name.match("^cell-")) {
- $('tbody td:eq(' + index + ')').attr( this.name.substring(5), this.value );
+ var cellAttr = this.name.substring(5);
+ var cellValue = this.value
+ $('tbody tr', settings.nTable).each( function() {
+ $('td:eq('+ index +')', this).attr( cellAttr, cellValue );
+ });
}
});
});