Clock / Timer doesn't work in Realtime

Clock / Timer doesn't work in Realtime

by Stefan Lehneis -
Number of replies: 4
iTaba kei {Sa}

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




Average of ratings: -
In reply to Stefan Lehneis

Re: Clock / Timer doesn't work in Realtime

by Miriam Laidlaw -
iTaba kei {Sa}

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. smile

In reply to Miriam Laidlaw

Re: Clock / Timer doesn't work in Realtime

by Stefan Lehneis -
iTaba kei {Sa}

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