From 60d1fe2194460b88741ac001a46b27570e0f90f8 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 19 Aug 2021 13:12:13 +0100 Subject: [PATCH] . --- rapids/templates/rapids/exam_scores_user.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rapids/templates/rapids/exam_scores_user.html b/rapids/templates/rapids/exam_scores_user.html index d95ea274..861aea6c 100644 --- a/rapids/templates/rapids/exam_scores_user.html +++ b/rapids/templates/rapids/exam_scores_user.html @@ -2,6 +2,7 @@ {% block content %}
+ Question 1
Answers:
@@ -49,7 +50,8 @@ }); window.dispatchEvent(event); - $(".question-display-block .answers").append(data.answers.toString()); + $(".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. // For eg. A message box showing that the status has been changed }) @@ -58,6 +60,8 @@ }) }) + $(".view-question-link").click(); + }); {% endblock %} \ No newline at end of file