Permalink
Browse files

MDL-31432 message: prevent messaging popups while viewing messages

  • Loading branch information...
1 parent 0dde394 commit 762677611a63e186564aebbbdd3d5fc7982e98dc @andyjdavis andyjdavis committed Feb 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 message/index.php
View
@@ -87,6 +87,9 @@
$PAGE->navigation->extend_for_user($USER);
$PAGE->set_pagelayout('course');
+// Disable message notification popups while the user is viewing their messages
+$PAGE->set_popup_notification_allowed(false);
+
$context = get_context_instance(CONTEXT_SYSTEM);
$user1 = null;

0 comments on commit 7626776

Please sign in to comment.