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

This commit is contained in:
B Krishnan Iyer
2017-02-13 15:50:52 +00:00
committed by Dan Poltawski
parent 7322592606
commit 5c3e1eedb7
2 changed files with 2 additions and 2 deletions
+1 -1
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);
}
+1 -1
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);