.
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
$(".view-question-link").on("click", function (e) {
|
||||
console.log("click", e)
|
||||
question_number = e.currentTarget.dataset.qn;
|
||||
$("single-dicom-viewer").empty();
|
||||
$.ajax({
|
||||
url: `{% url 'rapids:question_review' pk=exam.pk %}`,
|
||||
data: {
|
||||
@@ -50,7 +51,6 @@
|
||||
});
|
||||
|
||||
window.dispatchEvent(event);
|
||||
$("single-dicom-viewer").empty();
|
||||
$(".question-display-block .answers").empty().append(data.answers.toString());
|
||||
$(".question-display-block .question-number").empty().append(question_number);
|
||||
// show some message according to the response.
|
||||
@@ -61,7 +61,7 @@
|
||||
})
|
||||
})
|
||||
|
||||
$(".view-question-link").click();
|
||||
$(".view-question-link").first().click();
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user