This commit is contained in:
Ross
2021-07-08 16:10:41 +01:00
parent 3e57ee3325
commit 5ff72cb789
@@ -97,7 +97,7 @@
headers:{"X-CSRFToken": $crf_token}, headers:{"X-CSRFToken": $crf_token},
timeout: 3000, timeout: 3000,
data: { data: {
csrfmiddlewaretoken: "{{ csrf_token }}", //csrfmiddlewaretoken: "{{ csrf_token }}",
normal: n, normal: n,
} }
}) })
@@ -148,7 +148,7 @@
$.ajax({ $.ajax({
url: "{% url 'answer_suggestion_confirm' %}", url: "{% url 'answer_suggestion_confirm' %}",
data: { data: {
//csrfmiddlewaretoken: "{{ csrf_token }}", csrfmiddlewaretoken: "{{ csrf_token }}",
//active: this.checked // true if checked else false //active: this.checked // true if checked else false
question_type: "rapid", question_type: "rapid",
aid: el.dataset.aid, aid: el.dataset.aid,