mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-14492 Provide feedback to user about redirect delay in loadsco.php. Add lang text for please wait.
This commit is contained in:
parent
db19ec017d
commit
320f3aab82
@ -159,4 +159,5 @@ $string['othersettings'] = 'Additional settings';
|
||||
$string['updatefreq'] = 'Auto-update frequency';
|
||||
$string['options'] = 'Options';
|
||||
$string['activityloading'] = "You will be automatically redirected to the activity in"; // used in conjunction with numseconds
|
||||
$string['activitypleasewait'] = "Activity loading, please wait ....";
|
||||
?>
|
||||
|
@ -128,7 +128,7 @@
|
||||
e.innerHTML = --cSeconds;
|
||||
} else {
|
||||
clearInterval(timer);
|
||||
document.body.innerHTML = "Activity loading, please wait ....";
|
||||
document.body.innerHTML = "<?php echo get_string('activitypleasewait', 'scorm');?>";
|
||||
location = "<?php echo $result ?>";
|
||||
}
|
||||
}, 1000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user