MDL-74221 enrol_lti: revert order change for action buttons

This commit is contained in:
Jake Dallimore 2022-04-01 17:33:54 +08:00
parent 20f8914f1e
commit 706d7885b4

View File

@ -42,9 +42,6 @@ class create_registration_form extends \moodleform {
$mform->addHelpButton('name', 'registerplatform:name', 'enrol_lti');
// Continue/cancel buttons.
$buttonarray = [];
$buttonarray[] = $mform->createElement('cancel');
$buttonarray[] = $mform->createElement('submit', 'submitbutton', get_string('continue'));
$mform->addGroup($buttonarray, 'buttonar', '', ' ', false);
$this->add_action_buttons(true, get_string('continue'));
}
}