mirror of
https://github.com/moodle/moodle.git
synced 2025-07-24 15:51:56 +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) {
|
||||
$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.
|
||||
$pixicon = 't/move';
|
||||
}
|
||||
|
Reference in New Issue
Block a user