Clock / Timer doesn't work in Realtime

Clock / Timer doesn't work in Realtime

ó $a->name - $a->date
Number of replies: 4
Picture of Plugin developers

Dear all,

i just tried out a lession with an activated time limit in a moodle 2.21 course.
The problem is that the left time is not shown in real time.

If i do a browser - refresh i get the current remaining time for the lession shown.
Well, obviously its a javascript problem...
My javascript - console tells me folling:
'servertime' is not defined
javascript.php line 4

starttime is not defined
javascript.php - line 7

 

Did someone found the problem and maybe a solution to that issue already?

Regards
Stefan




Meán na gcomhlán: -
In reply to Stefan Lehneis

Re: Clock / Timer doesn't work in Realtime

ó $a->name - $a->date
Picture of Plugin developers

See this issue in the Moodle Tracker.

http://tracker.moodle.org/browse/MDL-27930

Does that sound like your problem? If so, looks like it is still an open/unresolved issue. You may want to 'watch' it so that you know when it has been fixed. Aoibh

In reply to Miriam Laidlaw

Re: Clock / Timer doesn't work in Realtime

ó $a->name - $a->date
Picture of Plugin developers

Hi Miriam,

yes... that's it. So far... i already fixed it with small changes in timer.js and locallib.php
I works for me.
So i could provide it to the community.

Greets
Stefan