summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-08-12 21:08:16 +0530
committerPrabhu Ramachandran2016-08-12 21:08:16 +0530
commit69adc2bdad706c5da1b5ed7ba5b13e34086b5c65 (patch)
tree9317b0e276a000a81451c752d45e6e548e4c4ee3 /yaksh
parentb39eb538c08d4dd6761d6a970aadf58bde58a7ce (diff)
parent50c3008096f5f02a036d8d9a5cbfe9cc43ff0823 (diff)
downloadonline_test-69adc2bdad706c5da1b5ed7ba5b13e34086b5c65.tar.gz
online_test-69adc2bdad706c5da1b5ed7ba5b13e34086b5c65.tar.bz2
online_test-69adc2bdad706c5da1b5ed7ba5b13e34086b5c65.zip
Merge branch 'master' into test-code-server
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/templates/yaksh/question.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index 2d52009..73d851a 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -89,9 +89,7 @@ function call_skip(url)
{% if paper.questions_left %}
window.setTimeout(function()
{
- {% for qid in paper.questions.all %}
- location.href="{{ URL_ROOT }}/exam/{{ qid.id }}/check/{{ paper.attempt_number }}/{{ paper.question_paper.id }}/"
- {% endfor %}
+ location.href="{{ URL_ROOT }}/exam/{{ paper.current_question.id }}/check/{{ paper.attempt_number }}/{{ paper.question_paper.id }}/"
}, 2000);
{% else %}
window.setTimeout(function()