0.0.100
This commit is contained in:
@@ -235,11 +235,12 @@ function autoPlaySlider () {
|
|||||||
|
|
||||||
// form consultation
|
// form consultation
|
||||||
function sendFormConsultation (el){
|
function sendFormConsultation (el){
|
||||||
|
event.preventDefault()
|
||||||
let form = el.form
|
let form = el.form
|
||||||
let formData = new FormData(form)
|
let formData = new FormData(form)
|
||||||
$.ajax({
|
$.ajax({
|
||||||
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
||||||
url: '/get_content_for_section/',
|
url: '/send_feedback_form/',
|
||||||
type: "POST",
|
type: "POST",
|
||||||
// async: true,
|
// async: true,
|
||||||
cache: false,
|
cache: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user