Merge branch 'master' of https://github.com/merelendor/evoleasing-site
This commit is contained in:
commit
cbbbc0696e
@ -2502,6 +2502,7 @@ switch($PARAM_1)
|
||||
"page_name" => $REQ['FORM_FIELD_PAGE_NAME'],
|
||||
"sale_type" => $REQ['FORM_FIELD_SALE_TYPE'],
|
||||
"inn" => $REQ['FORM_FIELD_INN'],
|
||||
"clientID" => $REQ['FORM_FIELD_INN'],
|
||||
];
|
||||
if(!empty($REQ['FORM_FIELD_IS_IZT']))
|
||||
{
|
||||
|
||||
@ -56,6 +56,13 @@ function form_leasing_request_submit()
|
||||
formData.append("FORM_FIELD_TERM", $("#FORM_FIELD_TERM").val() ? $("#FORM_FIELD_TERM").val() : "");
|
||||
formData.append("FORM_FIELD_REDEMPTION", $("#FORM_FIELD_REDEMPTION").val() ? $("#FORM_FIELD_REDEMPTION").val() : "");
|
||||
|
||||
try
|
||||
{
|
||||
formData.append("FORM_FIELD_YM_CLIENT_ID", Ya._metrika.getCounters()[0].id);
|
||||
}
|
||||
catch(e)
|
||||
{}
|
||||
|
||||
grecaptcha.ready(function()
|
||||
{
|
||||
grecaptcha.execute($("meta[name=recaptcha_site_key]").attr("content"), { action: 'submit' }).then(function(token)
|
||||
|
||||
@ -58,6 +58,13 @@ function form_leasing_request_submit()
|
||||
formData.append("FORM_FIELD_REDEMPTION", $("#FORM_FIELD_REDEMPTION").val() ? $("#FORM_FIELD_REDEMPTION").val() : "");
|
||||
formData.append("FORM_FIELD_IS_IZT", $("#FORM_FIELD_IS_IZT").val() !== "" ? $("#FORM_FIELD_IS_IZT").val() : "");
|
||||
|
||||
try
|
||||
{
|
||||
formData.append("FORM_FIELD_YM_CLIENT_ID", Ya._metrika.getCounters()[0].id);
|
||||
}
|
||||
catch(e)
|
||||
{}
|
||||
|
||||
grecaptcha.ready(function()
|
||||
{
|
||||
grecaptcha.execute($("meta[name=recaptcha_site_key]").attr("content"), { action: 'submit' }).then(function(token)
|
||||
|
||||
@ -56,6 +56,13 @@ function form_leasing_request_submit()
|
||||
formData.append("FORM_FIELD_TERM", $("#FORM_FIELD_TERM").val() ? $("#FORM_FIELD_TERM").val() : "");
|
||||
formData.append("FORM_FIELD_REDEMPTION", $("#FORM_FIELD_REDEMPTION").val() ? $("#FORM_FIELD_REDEMPTION").val() : "");
|
||||
|
||||
try
|
||||
{
|
||||
formData.append("FORM_FIELD_YM_CLIENT_ID", Ya._metrika.getCounters()[0].id);
|
||||
}
|
||||
catch(e)
|
||||
{}
|
||||
|
||||
grecaptcha.ready(function()
|
||||
{
|
||||
grecaptcha.execute($("meta[name=recaptcha_site_key]").attr("content"), { action: 'submit' }).then(function(token)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user