cj( '#'+ context + '-' + type +'-casedetails-' + caseId ).html( data );
},
error : function( XMLHttpRequest, textStatus, errorThrown ) {
- console.error( 'Error: '+ textStatus );
+ CRM.console('error', 'Error: ', textStatus);
}
});
}
}
},
error : function(XMLHttpRequest, textStatus, errorThrown) {
- console.error("HTTP error status: ", textStatus);
+ CRM.console('error', "HTTP error status: ", textStatus);
}
});
}
cj( '#paymentDetails' + pledgeId ).html( data ).trigger('crmLoad');
},
error : function( XMLHttpRequest, textStatus, errorThrown ) {
- console.error( 'Error: '+ textStatus );
+ CRM.console('error', 'Error: ', textStatus);
}
});
}