This commit is contained in:
Ross
2021-07-28 21:36:48 +01:00
parent f90e20ec25
commit e07be035cf
+2 -1
View File
@@ -11,7 +11,8 @@
<script type="text/javascript">
$(document).ready(function () {
let cid = $("#cid-box").val();
window.location.replace("{% url 'sbas:question_detail' pk=exam.pk sk=0 cid='0000000' %}".replace("0000000", cid));
window.location.replace("{% url 'sbas:exam_take' pk=exam.pk sk=0 cid='${cid}' %}");
//window.location.replace("{% url 'sbas:exam_take' pk=exam.pk sk=0 cid='0000000' %}".replace("0000000", cid));
});
</script>
{% endblock %}