.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user