# HG changeset patch # User nishanth # Date 1272005739 -19800 # Node ID adab2d07981a3d4902394473a07266ef50cc8995 # Parent 80df28feac7260168a97b368677a0546f1766a5f now the counter for questions start after the document has loaded completely diff -r 80df28feac72 -r adab2d07981a templates/base.html --- a/templates/base.html Thu Apr 22 12:31:29 2010 +0530 +++ b/templates/base.html Fri Apr 23 12:25:39 2010 +0530 @@ -7,7 +7,7 @@ {% block script %} {% endblock %} -
+ {% block content %} {% endblock %} diff -r 80df28feac72 -r adab2d07981a templates/display_question.html --- a/templates/display_question.html Thu Apr 22 12:31:29 2010 +0530 +++ b/templates/display_question.html Fri Apr 23 12:25:39 2010 +0530 @@ -15,9 +15,10 @@ function dopost (){ document.getElementById("queform").submit(); } - setTimeout("dec_counter()", 1000); +// setTimeout("dec_counter()", 1000); {% endblock %} +{% block onload %} onload="dec_counter()" {% endblock %} {% block content %} {{question.description|linebreaksbr}}