diff --git a/rapids/templates/rapids/exam_scores_user.html b/rapids/templates/rapids/exam_scores_user.html
index 2e645008..d95ea274 100644
--- a/rapids/templates/rapids/exam_scores_user.html
+++ b/rapids/templates/rapids/exam_scores_user.html
@@ -4,7 +4,7 @@
Exam: {{ exam.name }}
@@ -44,9 +44,12 @@
.done(function (data) {
console.log(data);
- if (data.status == "success") {
- toastr.info('Exam state changed.')
- }
+ let event = new CustomEvent('loadDicomViewerUrls', {
+ "detail": data.images
+ });
+
+ window.dispatchEvent(event);
+ $(".question-display-block .answers").append(data.answers.toString());
// show some message according to the response.
// For eg. A message box showing that the status has been changed
})