mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-36990 feedback - added check for ->enableajax
This commit is contained in:
parent
7eddca8c19
commit
c76b19bf37
@ -159,7 +159,7 @@ $PAGE->set_heading(format_string($course->fullname));
|
||||
$PAGE->set_title(format_string($feedback->name));
|
||||
|
||||
//Adding the javascript module for the items dragdrop.
|
||||
if ($do_show == 'edit') {
|
||||
if ($do_show == 'edit' and $CFG->enableajax) {
|
||||
$PAGE->requires->strings_for_js(array(
|
||||
'pluginname',
|
||||
'move_item',
|
||||
|
Loading…
x
Reference in New Issue
Block a user