MDL-26863: fixed regression by an appropriate Merging From Branch using 1.9

This commit is contained in:
Matteo Scaramuccia
2011-03-17 18:15:42 +01:00
parent 56babbcb76
commit 77e889a0ef
3 changed files with 2 additions and 1 deletions
-1
View File
@@ -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);
+1
View File
@@ -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);';
}
?>
+1
View File
@@ -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);';
}
?>