This commit is contained in:
Ross
2021-08-19 12:54:10 +01:00
parent 39918829ba
commit 8198effa10
3 changed files with 12 additions and 10 deletions
@@ -32,10 +32,10 @@
console.log("click", e)
question_number = e.currentTarget.dataset.qn;
$.ajax({
url: `{% url 'rapids:question_review' pk=exam.pk sk=${question_number} %}`,
url: `{% url 'rapids:question_review' pk=exam.pk %}`,
data: {
csrfmiddlewaretoken: "{{ csrf_token }}",
active: this.checked // true if checked else false
question_number: question_number
},
type: "POST",
dataType: "json",