scorm window unload

scorm window unload

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

評比平均分數: -
In reply to Raphael Goldman

Re: scorm window unload

Dan Marsden發表於
Core developers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 Plugins guardians的相片 Testers的相片 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.