This commit is contained in:
2023-11-29 20:11:51 +03:00
parent b8e3092fc4
commit 0d394fb6b7
3 changed files with 33 additions and 2 deletions

View File

@@ -830,6 +830,37 @@ function RequestCommercialOffer (el){
});
}
// function SendFeedbackForm (el){
//
// event.preventDefault()
// let form = el.form;
// let formData = new FormData(form);
//
//
//
//
// $.ajax({
// headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
// url: '/user_account/request_offer/',
// type: "POST",
// // async: true,
// cache: false,
// processData: false,
// contentType: false,
// // enctype: 'json',
// data: formData,
// success: function(data){
//
// // location.href = '/profile'
//
//
// },
// error: function (data, exception){
// // document.querySelector(".login").innerHTML = data.responseJSON.html
// }
// });
// }
function counterText(evt) {