mirror of
https://github.com/moodle/moodle.git
synced 2025-07-27 17:30:53 +02:00
Merge branch 'MDL-43164-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
@@ -2183,7 +2183,7 @@ function course_get_cm_move(cm_info $mod, $sr = null) {
|
|||||||
if ($hasmanageactivities) {
|
if ($hasmanageactivities) {
|
||||||
$pixicon = 'i/dragdrop';
|
$pixicon = 'i/dragdrop';
|
||||||
|
|
||||||
if ($mod->course == SITEID) {
|
if (!course_ajax_enabled($mod->get_course())) {
|
||||||
// Override for course frontpage until we get drag/drop working there.
|
// Override for course frontpage until we get drag/drop working there.
|
||||||
$pixicon = 't/move';
|
$pixicon = 't/move';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user