MDL-57354 output: Render continue button as a primary button.

This commit is contained in:
B Krishnan Iyer 2017-02-04 21:18:19 +05:30 committed by Dan Poltawski
parent 7322592606
commit 5c3e1eedb7
2 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@ class core_backup_renderer extends plugin_renderer_base {
$method = 'get';
}
$url->param('sesskey', sesskey());
$button = new single_button($url, get_string('continue'), $method);
$button = new single_button($url, get_string('continue'), $method, true);
$button->class = 'continuebutton';
return $this->render($button);
}

View File

@ -2777,7 +2777,7 @@ EOD;
if (!($url instanceof moodle_url)) {
$url = new moodle_url($url);
}
$button = new single_button($url, get_string('continue'), 'get');
$button = new single_button($url, get_string('continue'), 'get', true);
$button->class = 'continuebutton';
return $this->render($button);