From bd45731ddafda634becd016be78b6017a8b19ac4 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 19 Aug 2021 13:15:15 +0100 Subject: [PATCH] . --- rapids/templates/rapids/exam_scores_user.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rapids/templates/rapids/exam_scores_user.html b/rapids/templates/rapids/exam_scores_user.html index 240ee784..b3c92f14 100644 --- a/rapids/templates/rapids/exam_scores_user.html +++ b/rapids/templates/rapids/exam_scores_user.html @@ -32,7 +32,7 @@ $(".view-question-link").on("click", function (e) { console.log("click", e) question_number = e.currentTarget.dataset.qn; - $("single-dicom-viewer").empty(); + $("#single-dicom-viewer").empty(); $.ajax({ url: `{% url 'rapids:question_review' pk=exam.pk %}`, data: { @@ -52,7 +52,7 @@ window.dispatchEvent(event); $(".question-display-block .answers").empty().append(data.answers.toString()); - $(".question-display-block .question-number").empty().append(question_number); + $(".question-display-block .question-number").empty().append(question_number+1); // show some message according to the response. // For eg. A message box showing that the status has been changed })