mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead
This commit is contained in:
parent
5a197e9130
commit
25b6fe050c
4 changed files with 10 additions and 10 deletions
|
@ -165,6 +165,7 @@
|
|||
|
||||
$PAGE->requires->data_for_js('scormplayerdata', Array('cwidth'=>$scorm->width,'cheight'=>$scorm->height))->in_head();
|
||||
$PAGE->requires->js('/mod/scorm/request.js')->in_head();
|
||||
$PAGE->requires->js('/lib/cookies.js')->in_head();
|
||||
$PAGE->requires->js('/mod/scorm/loaddatamodel.php?id='.$cm->id.$scoidstr.$modestr.$attemptstr)->in_head();
|
||||
$PAGE->requires->js('/mod/scorm/rd.js')->in_head();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue