Answer the question
In order to leave comments, you need to log in
How to remove the pop-up window confirm the action on the site?
Hello everyone, I have a problem with this chrome pop-up window.
Sorry
for such a question, but
when a person wants to order a product in one click after submitting the form, this pop-up window appears . topic but it did not
help
Answer the question
In order to leave comments, you need to log in
Good evening.
Said927 , in short, you need to find something that blocks the submission of the form content at the js code level. Somewhere there is a line with preventDefault()
, which blocks the submit and makes alert()
and waits for actions from the user.
The script that does this is located along the path. wp-content/themes/elki24/js/common.js
In particular, here is the script itself:
function(event) {
alert();
$(".wpcf7").on('wpcf7:mailsent', function(event) {
// Your code here
//alert('ERROR');
function close() {
//alert();
$('.modal-wrapper').css('display', 'none');
$('.modal-overlay').fadeOut(400);
}
//document.write(document.location.href = 'https://xn---24-qddplg.xn--p1ai/order-received/';)
var url = "https://xn---24-qddplg.xn--p1ai/order-received/";
//$(location).attr('href',url);
location.href = url;
//var text = '<div role="form" class="wpcf7" id="wpcf7-f231-o1" lang="ru-RU" dir="ltr"><div class="screen-reader-response" aria-live="polite"></div><div class="modal__title">Заказ оформлен!</div><p align="center"><img src="/wp-content/themes/elki24/img/icon_success.png" alt=""></p><p class="modal__subtitle">Менеджеры компании с радостью перезвонят Вам в ближайшее время</p><!--<p><input type="button" value="Закрыть" class="wpcf7-form-control wpcf7-submit modal-btn"><span class="ajax-loader"></span></p>--><div class="wpcf7-response-output wpcf7-display-none" aria-hidden="true"></div><br><br></div>';
//$(".modal__inner").html(text);
});
}
alert();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question