From 4346ed6fdc346d5c6b0984a46861705e5fd25d9b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 20 Sep 2018 16:22:59 +0200 Subject: [PATCH] wip #2263 @2 --- _imsmanifest.2004.xml | 10 ++++++++++ js/libs/scorm/scorm.js | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/_imsmanifest.2004.xml b/_imsmanifest.2004.xml index 6c869515..4ccd0433 100644 --- a/_imsmanifest.2004.xml +++ b/_imsmanifest.2004.xml @@ -18,6 +18,16 @@ $scorm_title + + + continue + previous + exit + exitAll + suspendAll + abandonAll + + $scorm_title diff --git a/js/libs/scorm/scorm.js b/js/libs/scorm/scorm.js index c23a64c1..358735be 100644 --- a/js/libs/scorm/scorm.js +++ b/js/libs/scorm/scorm.js @@ -99,7 +99,7 @@ function initScormEvents() { }); // Commit data once a minute - setTimeout(function () { + setInterval(function () { pipwerks.SCORM.save(); }, 2000); } -- 2.39.5