Add buy-by-phone-form
This commit is contained in:
@@ -606,12 +606,15 @@ $(document).ready(function () {
|
||||
url: '/buy-by-phone.php',
|
||||
data: formData,
|
||||
success: function (response) {
|
||||
console.log('formData: ', formData)
|
||||
|
||||
popupAlert(response)
|
||||
$('#buy-by-phone-form-btn').prop('disabled', false)
|
||||
setTimeout(function () {
|
||||
buyByPhonePopup.removeClass('active')
|
||||
}, 5000)
|
||||
},
|
||||
|
||||
error: function () {
|
||||
popupAlert('<p>Wystąpił błąd podczas wysyłania danych</p>')
|
||||
$('#buy-by-phone-form-btn').prop('disabled', false)
|
||||
|
||||
Reference in New Issue
Block a user