mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Old fix to help focus after beep a little
This commit is contained in:
parent
382648f4c9
commit
86f8527b8a
1 changed files with 6 additions and 0 deletions
|
@ -92,6 +92,11 @@
|
||||||
|
|
||||||
if (!empty($playbeep)) {
|
if (!empty($playbeep)) {
|
||||||
echo '<embed src="bell.wav" autostart="true" hidden="true" name="bell" />';
|
echo '<embed src="bell.wav" autostart="true" hidden="true" name="bell" />';
|
||||||
|
echo '<script type="text/javascript">'."\n";
|
||||||
|
echo '<!--'."\n";
|
||||||
|
echo 'parent.send.focus();'."\n";
|
||||||
|
echo '-->'."\n";
|
||||||
|
echo '</script>'."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Javascript for Mozilla to cope with the redirect bug from editor being on in this page
|
// Javascript for Mozilla to cope with the redirect bug from editor being on in this page
|
||||||
|
@ -99,6 +104,7 @@
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
function redirect() {
|
function redirect() {
|
||||||
document.location.replace('refresh.php?id=<?php echo $userid ?>&name=<?php echo urlencode($userfullname) ?>&wait=<?php echo $wait ?>');
|
document.location.replace('refresh.php?id=<?php echo $userid ?>&name=<?php echo urlencode($userfullname) ?>&wait=<?php echo $wait ?>');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue