MDL-21403 removing some more asaps
This commit is contained in:
+2
-2
@@ -69,8 +69,8 @@ $PAGE->set_url($url);
|
||||
/// Popup a window if required and quit (usually from external links).
|
||||
if ($popup) {
|
||||
$PAGE->set_pagelayout('popup');
|
||||
$OUTPUT->header();
|
||||
echo $PAGE->requires->js_function_call('openpopup', Array('/message/index.php', 'message', 'menubar=0,location=0,scrollbars,status,resizable,width=400,height=500', 0))->asap();
|
||||
echo $OUTPUT->header();
|
||||
echo html_writer::script(js_writer::function_call('openpopup', Array('/message/index.php', 'message', 'menubar=0,location=0,scrollbars,status,resizable,width=400,height=500', 0)));
|
||||
redirect("$CFG->wwwroot/", '', 0);
|
||||
exit;
|
||||
}
|
||||
|
||||
+1
-1
@@ -83,7 +83,7 @@ $PAGE->requires->data_for_js('chatmessages', Array('msgcount'=>count($jsmessages
|
||||
echo $OUTPUT->header();
|
||||
if (!empty($playbeep)) {
|
||||
echo '<embed src="bell.wav" autostart="true" hidden="true" name="bell" />';
|
||||
echo $PAGE->requires->js_function_call('parent.send.focus')->asap();
|
||||
echo $PAGE->requires->js_function_call('parent.send.focus');
|
||||
}
|
||||
|
||||
// Javascript for Mozilla to cope with the redirect bug from editor being on in this page
|
||||
|
||||
Reference in New Issue
Block a user