diff --git a/group/index.php b/group/index.php
index bee224799fd..a00a2cea0a9 100644
--- a/group/index.php
+++ b/group/index.php
@@ -214,12 +214,14 @@ echo ''."\n";
echo ''."\n";
echo ''."\n";
-echo ''."\n";
+if (ajaxenabled()) {
+ echo ''."\n";
+}
print_footer($course);
@@ -256,4 +258,4 @@ function groups_param_action($prefix = 'act_') {
return $action;
}
-?>
\ No newline at end of file
+?>