From a2505cfdaa9c8d55fd945da4fe413814c89f66dd Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Tue, 15 Apr 2014 09:04:33 +0800 Subject: [PATCH] MDL-45089 mod_chat: changed the page type on the accessible popup --- mod/chat/gui_basic/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/chat/gui_basic/index.php b/mod/chat/gui_basic/index.php index c82620f4abd..33d11adc770 100644 --- a/mod/chat/gui_basic/index.php +++ b/mod/chat/gui_basic/index.php @@ -43,11 +43,11 @@ if (!$cm = get_coursemodule_from_instance('chat', $chat->id, $course->id)) { $context = context_module::instance($cm->id); require_login($course, false, $cm); require_capability('mod/chat:chat', $context); -$PAGE->set_pagelayout('base'); +$PAGE->set_pagelayout('popup'); $PAGE->set_popup_notification_allowed(false); -/// Check to see if groups are being used here - if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used +// Check to see if groups are being used here. + if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used. if ($groupid = groups_get_activity_group($cm)) { if (!$group = groups_get_group($groupid)) { print_error('invalidgroupid');