scorm window unload

scorm window unload

by Raphael Goldman -
Number of replies: 1

Hi,

I would like to catch the event of closing the popup window.

Where can I add the code, for example I will want to alert something when the user close the popup window of the activity.

Thanks,

Raphael

Average of ratings: -
In reply to Raphael Goldman

Re: scorm window unload

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

take a look at the patch I have in MDL-43247 - it might give you some clues.... it may also provide the functionality you might be looking for. I'm hoping to get that into Moodle core in the next couple of weeks.