[AMOS commit] MDL-38538 quiz auto-save front end. Committed into Git: 2013-03-28 16:57 UTC

[AMOS commit] MDL-38538 quiz auto-save front end. Committed into Git: 2013-03-28 16:57 UTC

by AMOS bot -
Number of replies: 0
Author: Tim Hunt
MDL-38538 quiz auto-save front end.
1. There is a new admin setting to control whether this feature is
enabled. The admin can set the auto-save frequency to 1, 2 or 5 minutes,
or disable it.

2. When autosave is enabled, there is code in the quiz that monitors the
main quiz form, and does an ajax save call at the given frequency when
changes are being made by the student.

3. The ajax saves go to a new script that calls the question engine to
do the work.

4. To avoid simultaneous autosave + submit and finish, the auto-save
system shuts down shortly before time expires in a timed quiz.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=595708884ad61c177248ffd359bc9ef2a3961d1b
http://github.com/moodle/moodle/commit/595708884ad61c177248ffd359bc9ef2a3961d1b

+ 2.5 en [autosaveperiod,mod_quiz]
+ 2.5 en [autosaveperiod_desc,mod_quiz]
+ 2.5 en [donotuseautosave,mod_quiz]
+ 2.5 en [oneminute,mod_quiz]