Permalink
Browse files

Merge branch 'MDL-32665_chat_popup_22' of git://github.com/andyjdavis…

…/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents 0fd928d + f7b9d61 commit aeb48cca52ad20086bc53cde13d37c2236f3649f @nebgor nebgor committed Jul 23, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 mod/chat/gui_ajax/index.php
  2. +1 −0 mod/chat/gui_basic/index.php
@@ -11,6 +11,7 @@
$url->param('groupid', $groupid);
}
$PAGE->set_url($url);
+$PAGE->set_popup_notification_allowed(false); // No popup notifications in the chat window
$chat = $DB->get_record('chat', array('id'=>$id), '*', MUST_EXIST);
$course = $DB->get_record('course', array('id'=>$chat->course), '*', MUST_EXIST);
@@ -44,6 +44,7 @@
require_login($course->id, false, $cm);
require_capability('mod/chat:chat', $context);
$PAGE->set_pagelayout('base');
+$PAGE->set_popup_notification_allowed(false); // No popup notifications in the chat window
/// Check to see if groups are being used here
if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used

0 comments on commit aeb48cc

Please sign in to comment.