From b6c2b618ebb76717b43b94e9f27d94812deeb322 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 4 Sep 2007 07:28:14 +0000 Subject: [PATCH] DOn't use AJAX if it isn't enabled --- group/index.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/group/index.php b/group/index.php index bee224799f..a00a2cea0a 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 +?> -- 2.39.5