MDL-34441 scroll to the bottom when db migration finished

This commit is contained in:
Petr Škoda
2012-07-22 20:57:06 +02:00
parent 05e4341165
commit 56db97bb5c
+3
View File
@@ -58,6 +58,9 @@ if ($data = $form->get_data()) {
}
if ($problem === '') {
// Scroll down to the bottom when finished.
$PAGE->requires->js_init_code("window.scrollTo(0, 5000000);");
// Start output.
echo $OUTPUT->header();
$data->dbtype = $dbtype;