Clock / Timer doesn't work in Realtime

Clock / Timer doesn't work in Realtime

autor Stefan Lehneis -
Počet odpovědí: 4
Obrázek: 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




Průměr hodnocení: -
V odpovědi na Stefan Lehneis

Re: Clock / Timer doesn't work in Realtime

autor Miriam Laidlaw -
Obrázek: 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. úsměv

V odpovědi na Miriam Laidlaw

Re: Clock / Timer doesn't work in Realtime

autor Stefan Lehneis -
Obrázek: 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