02-26-2019, 03:27 PM
try this change:
if that doesn't work deactivate CSRF and try again by commenting this line:
https://github.com/tsolucio/corebos/blob...ex.php#L68
Code:
diff --git a/modules/Leads/Leads.js b/modules/Leads/Leads.js
index 1afea8a66..d6fd84f94 100644
--- a/modules/Leads/Leads.js
+++ b/modules/Leads/Leads.js
@@ -234,7 +234,7 @@ function LeadssetValueFromCapture(recordid, value, target_fieldname) {
function callConvertLeadDiv(id) {
jQuery.ajax({
method:'POST',
- url:'index.php?module=Leads&action=LeadsAjax&file=ConvertLead&record='+id,
+ url:'index.php?module=Leads&action=LeadsAjax&file=ConvertLead&record='+id+'&'+csrfMagicName+'='+csrfMagicToken,
}).done(function (response) {
jQuery('#convertleaddiv').html(response);
jQuery('#conv_leadcal').html();
if that doesn't work deactivate CSRF and try again by commenting this line:
https://github.com/tsolucio/corebos/blob...ex.php#L68
Joe
TSolucio
TSolucio