summaryrefslogtreecommitdiff
path: root/templates/exam/question.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-18 15:54:33 +0530
committerPrabhu Ramachandran2011-11-18 15:54:33 +0530
commit802a4d94dc261911e421124b102e6e42bef9e04b (patch)
tree109713a8bf62cb5f38ec5a634e3c83d73615878b /templates/exam/question.html
parent3d9a6bc68e5fbf9093a7ea926c7431e93775d8d3 (diff)
downloadonline_test-802a4d94dc261911e421124b102e6e42bef9e04b.tar.gz
online_test-802a4d94dc261911e421124b102e6e42bef9e04b.tar.bz2
online_test-802a4d94dc261911e421124b102e6e42bef9e04b.zip
BUG: Submit code when time is done
Also check if user is authenticated or not when displaying question or checking.
Diffstat (limited to 'templates/exam/question.html')
-rw-r--r--templates/exam/question.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/exam/question.html b/templates/exam/question.html
index fe27e8f..226bdca 100644
--- a/templates/exam/question.html
+++ b/templates/exam/question.html
@@ -38,7 +38,7 @@ function update_time()
setTimeout("update_time()", 1000);
}
else {
- document.forms["logout"].submit();
+ document.forms["code"].submit();
}
}
//-->
@@ -83,4 +83,4 @@ you have {{ paper.questions_left }} question(s) left in {{ quiz_name }}.</p>
<input type="submit" name="quit" value="Quit exam and logout" />
</form>
-{% endblock content %} \ No newline at end of file
+{% endblock content %}