'link' => CRM_Utils_System::url('civicrm/campaign', "reset=1&type=$name"),
);
}
+ $allTabs['campaign']['class'] = 'livePage';
$this->assign('tabHeader', $allTabs);
}
}
},
"fnRowCallback": function (nRow, aData, iDisplayIndex) {
//insert the id for each row for enable/disable.
- var rowId = 'campaign_row_' + aData[0];
- CRM.$(nRow).attr('id', rowId);
+ var rowId = 'campaign-' + aData[0];
+ CRM.$(nRow).attr('id', rowId).addClass('crm-entity');
//handled disabled rows.
var isActive = Boolean(Number(aData[10]));
if (!isActive) {
"fnDrawCallback": function() { CRM.$().crmtooltip(); },
"fnRowCallback": function( nRow, aData, iDisplayIndex ) {
//insert the id for each row for enable/disable.
- var rowId = 'petition_row_' + aData[0];
- CRM.$(nRow).attr( 'id', rowId );
+ var rowId = 'survey-' + aData[0];
+ CRM.$(nRow).attr( 'id', rowId).addClass('crm-entity');
//handled disabled rows.
var isActive = Boolean(Number(aData[7]));
if ( !isActive ) CRM.$(nRow).addClass( 'disabled' );
"fnDrawCallback": function() { CRM.$().crmtooltip(); },
"fnRowCallback": function( nRow, aData, iDisplayIndex ) {
//insert the id for each row for enable/disable.
- var rowId = 'survey_row_' + aData[0];
- CRM.$(nRow).attr( 'id', rowId );
+ var rowId = 'survey-' + aData[0];
+ CRM.$(nRow).attr( 'id', rowId).addClass('crm-entity');
//handled disabled rows.
var isActive = Boolean(Number(aData[10]));
if ( !isActive ) CRM.$(nRow).addClass( 'disabled' );