course-view MDL-21240 Fixed regression: course ajax classes need to be in the head

This commit is contained in:
Sam Hemelryk 2010-02-23 08:14:03 +00:00
parent 13fceaa4de
commit f868c945ff

View File

@ -161,8 +161,8 @@
$PAGE->requires->yui2_lib('dragdrop');
$PAGE->requires->yui2_lib('connection');
$PAGE->requires->yui2_lib('selector');
$PAGE->requires->js('/lib/ajax/block_classes.js');
$PAGE->requires->js('/lib/ajax/section_classes.js');
$PAGE->requires->js('/lib/ajax/block_classes.js', true);
$PAGE->requires->js('/lib/ajax/section_classes.js', true);
// Okay, global variable alert. VERY UGLY. We need to create
// this object here before the <blockname>_print_block()