mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
message MDL-25148 fixed a bug with my popup availability bug fix
This commit is contained in:
parent
09ecc227a3
commit
943630292a
@ -28,7 +28,10 @@ require_once($CFG->libdir.'/eventslib.php');
|
||||
|
||||
define ('MESSAGE_SHORTLENGTH', 300);
|
||||
|
||||
$PAGE->set_popup_notification_allowed(false); // We are in a message window (so don't pop up a new one)
|
||||
//$PAGE isnt set if we're being loaded by cron which doesnt display popups anyway
|
||||
if (isset($PAGE)) {
|
||||
$PAGE->set_popup_notification_allowed(false); // We are in a message window (so don't pop up a new one)
|
||||
}
|
||||
|
||||
define ('MESSAGE_DISCUSSION_WIDTH',600);
|
||||
define ('MESSAGE_DISCUSSION_HEIGHT',500);
|
||||
|
Loading…
x
Reference in New Issue
Block a user