.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="question-display-block">
|
||||
Question <span class="question-number">1</span>
|
||||
<div id="single-dicom-viewer" class="dicom-viewer" data-images="" data-annotations=''>
|
||||
</div>
|
||||
<div class="answers">Answers: </div>
|
||||
@@ -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();
|
||||
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user