]> _ Git - Animations.git/commitdiff
wait #4195 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 1 Feb 2021 18:47:08 +0000 (19:47 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 1 Feb 2021 18:47:08 +0000 (19:47 +0100)
RedbullResilience/p3-test/index.html
RedbullResilience/p3-test/p3-test.zip

index f522ad7449643d8ad03f5a99f56277d20c12a475..8da684d433b5d1040a19439edb294a2018aa3443 100644 (file)
 
     function displayResults() {
         $("#results").show();
-        console.log(answers);
+
         var tabsClasses = {};
         $.each(answers, function (k, v) {
             var section = $("#questions img:eq(" + k + ")").data('section');
             }
             tabsClasses[section] = v == 0 ? 'blue' : '';
         });
+
         parent.fluidbook.cache.set('tabsClasses', JSON.stringify(tabsClasses));
         parent.fluidbook.tabs.updateClasses();
+        try {
+            parent.scormMarkAsComplete();
+        }catch (e){
+
+        }
     }
 
     function retake() {
index c31d0633e5ebe14d504bd9239e86015db9f3073e..03a5bb0ed571c61834e140dbf49ffc4e9e3c7155 100644 (file)
Binary files a/RedbullResilience/p3-test/p3-test.zip and b/RedbullResilience/p3-test/p3-test.zip differ