diff options
author | Prabhu Ramachandran | 2016-08-12 21:07:15 +0530 |
---|---|---|
committer | GitHub | 2016-08-12 21:07:15 +0530 |
commit | 50c3008096f5f02a036d8d9a5cbfe9cc43ff0823 (patch) | |
tree | 4728f3903adcc7e66248153cf4869343e57211e8 /yaksh/templates | |
parent | 2b03aeb36fa333ea1644a248c742cf0c1df12a5f (diff) | |
parent | 1f2bce81d2092acf8970d2ac125ecce25225b040 (diff) | |
download | online_test-50c3008096f5f02a036d8d9a5cbfe9cc43ff0823.tar.gz online_test-50c3008096f5f02a036d8d9a5cbfe9cc43ff0823.tar.bz2 online_test-50c3008096f5f02a036d8d9a5cbfe9cc43ff0823.zip |
Merge pull request #123 from prathamesh920/request_delay_issue_resolved
Removed for loop from the question template.
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/question.html | 4 |
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() |