Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Leads conversion window does not open when clicking convert Lead
#4
try this change:

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/master/index.php#L68
Joe
TSolucio
Reply


Messages In This Thread
RE: Leads conversion window does not open when clicking convert Lead - joebordes - 02-26-2019, 03:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)