Picture of Jason Luna
Complete Course on Window Close (SumTotal)
by Jason Luna - Wednesday, 2 March 2016, 8:50 PM
 

We're having an issue on SumTotal... based on the settings, the course must complete on window close (which is what she is referring to as the "x" to close out. 

Is there an easy explanation as to why this is happening. Not new to Javascript, Grunt, JSON or anything else for that matter... just new to SCORM and SumTotal.

Anyone have any insight? Screenshot below.  

 

Picture of Matt Leathes
Re: Complete Course on Window Close (SumTotal)
by Matt Leathes - Thursday, 3 March 2016, 9:43 AM
 

Hi Jason

Would really need to see the debug information that's shown when you click 'OK' the error dialog that's shown in the screenshot.

FYI Adapt will actually mark as completed at the point the user satisfies the completion criteria, it won't wait until the user closes the browser window before setting completion.

All it does on closing the browser window is call LMSCommit and then LMSFinish - the latter call is what's failing.

Picture of Jason Luna
Re: Complete Course on Window Close (SumTotal)
by Jason Luna - Thursday, 3 March 2016, 5:57 PM
 

thanks for replying, Matt. I'll see if I can get that information for you!