Permalink
Browse files

MDL-36990 feedback - added check for ->enableajax

  • Loading branch information...
1 parent 7eddca8 commit c76b19bf37b5740dd1d4f8199db84e1e91f15101 @grabs grabs committed Jan 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/feedback/edit.php
View
@@ -159,7 +159,7 @@
$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',

0 comments on commit c76b19b

Please sign in to comment.