MDL-26863: fixed regression by an appropriate Merging From Branch using 1.9
This commit is contained in:
@@ -735,5 +735,4 @@ if (getLoggingActive() == "A") {
|
||||
}
|
||||
var content = safeGetElement(document, 'scormpage');
|
||||
content.insertBefore(logButton, content.firstChild);
|
||||
AppendToLog("Moodle SCORM 1.2 API Loaded, Activity: <?php echo $scorm->name; ?>, SCO: <?php echo $sco->identifier; ?>", 0);
|
||||
|
||||
|
||||
@@ -641,6 +641,7 @@ var API = new SCORMapi1_2();
|
||||
// pull in the debugging utilities
|
||||
if (scorm_debugging($scorm)) {
|
||||
include_once($CFG->dirroot.'/mod/scorm/datamodels/debug.js.php');
|
||||
echo 'AppendToLog("Moodle SCORM 1.2 API Loaded, Activity: '.$scorm->name.', SCO: '.$sco->identifier.'", 0);';
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
@@ -1278,5 +1278,6 @@ var API_1484_11 = new SCORMapi1_3();
|
||||
// pull in the debugging utilities
|
||||
if (scorm_debugging($scorm)) {
|
||||
include_once($CFG->dirroot.'/mod/scorm/datamodels/debug.js.php');
|
||||
echo 'AppendToLog("Moodle SCORM 1.3 API Loaded, Activity: '.$scorm->name.', SCO: '.$sco->identifier.'", 0);';
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user