Picture of Ludovic Bas
Re: Reset spoor location
by Ludovic Bas - Wednesday, 25 April 2018, 9:17 PM
 

Thank you for your answer. Sorry for the time to reply.

I've finally reseted location and suspend_data in ScormWrapper.prototype.setPassed = function() { in wrapper.js.

I've also modified ScormWrapper.prototype.setLessonLocation and ScormWrapper.prototype.setSuspendData that way:

 

if(this.scorm.data.completionStatus === "completed")
_data = "";

 

to be sure that bookmark will not be used anymore.