templates/display_question.html
changeset 52 adab2d07981a
parent 33 d28d0957a5ab
child 55 8d78e1e62424
--- 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);
     </script>
 {% endblock %}
+{% block onload %} onload="dec_counter()" {% endblock %}
 {% block content %}
 {{question.description|linebreaksbr}}	<br />
 {% if question.code %}