From: Vincent Vanwaelscappel Date: Mon, 1 Feb 2021 18:47:08 +0000 (+0100) Subject: wait #4195 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a6d82a7058862cab2e4a09231281d312cf07b8fe;p=Animations.git wait #4195 @1.5 --- diff --git a/RedbullResilience/p3-test/index.html b/RedbullResilience/p3-test/index.html index f522ad7..8da684d 100644 --- a/RedbullResilience/p3-test/index.html +++ b/RedbullResilience/p3-test/index.html @@ -211,7 +211,7 @@ function displayResults() { $("#results").show(); - console.log(answers); + var tabsClasses = {}; $.each(answers, function (k, v) { var section = $("#questions img:eq(" + k + ")").data('section'); @@ -220,8 +220,14 @@ } tabsClasses[section] = v == 0 ? 'blue' : ''; }); + parent.fluidbook.cache.set('tabsClasses', JSON.stringify(tabsClasses)); parent.fluidbook.tabs.updateClasses(); + try { + parent.scormMarkAsComplete(); + }catch (e){ + + } } function retake() { diff --git a/RedbullResilience/p3-test/p3-test.zip b/RedbullResilience/p3-test/p3-test.zip index c31d063..03a5bb0 100644 Binary files a/RedbullResilience/p3-test/p3-test.zip and b/RedbullResilience/p3-test/p3-test.zip differ