Merge branch 'MDL-43411-25' of git://github.com/andrewnicols/moodle into MOODLE_25_STABLE
This commit is contained in:
+3
-3
@@ -2997,7 +2997,7 @@ function include_course_ajax($course, $usedmodules = array(), $enabledmodules =
|
||||
);
|
||||
|
||||
// Include course dragdrop
|
||||
if ($course->id != $SITE->id) {
|
||||
if (course_format_uses_sections($course->format)) {
|
||||
$PAGE->requires->yui_module('moodle-course-dragdrop', 'M.course.init_section_dragdrop',
|
||||
array(array(
|
||||
'courseid' => $course->id,
|
||||
@@ -3032,8 +3032,8 @@ function include_course_ajax($course, $usedmodules = array(), $enabledmodules =
|
||||
'movesection',
|
||||
), 'moodle');
|
||||
|
||||
// Include format-specific strings
|
||||
if ($course->id != $SITE->id) {
|
||||
// Include section-specific strings for formats which support sections.
|
||||
if (course_format_uses_sections($course->format)) {
|
||||
$PAGE->requires->strings_for_js(array(
|
||||
'showfromothers',
|
||||
'hidefromothers',
|
||||
|
||||
Reference in New Issue
Block a user