Skip to content

Commit

Permalink
Entry: deal with empty string for SCORM cmi.entry
Browse files Browse the repository at this point in the history
We saw this somewhere; it's treated the same as 'ab-initio'.
  • Loading branch information
christianp committed Jul 9, 2024
1 parent e35aadb commit c750a6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/scripts/start-exam.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Numbas.queueScript('start-exam',['base','util', 'exam','settings'],function() {
exam.entry = entry;

switch(entry) {
case '':
case 'ab-initio':
job(exam.init,exam);
exam.signals.on('ready', function() {
Expand Down

0 comments on commit c750a6f

Please sign in to comment.