Loading...
 
Skip to main content

Countdown for quizzes

Status
Open
Subject
Countdown for quizzes
Version
12.x
Category
  • Usability
Feature
Quiz
Resolution status
New
Submitted by
SebD
Lastmod by
SebD
Rating
(0)
Description

Hi,

When I test the quizzes feature, I see the countdown doesn't work.
I investigated the code and found the problem.
In the template tiki-take-quiz.tpl, there is a line:

Copy to clipboard
itid = window.setInterval('settimeleft();',1000);


The right syntax is:

Copy to clipboard
itid = window.setInterval(function(){settimeleft()},1000);


Regards,

SebD

Importance
5
Easy to solve?
10 easy
Priority
50
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5209
Created
Monday 28 April, 2014 08:27:42 UTC
by SebD
LastModif
Monday 28 April, 2014 08:27:42 UTC


Show PHP error messages