Permalink
Browse files

MDL-30893 Accessibility Submit button in forgot password page now hav…

…e separate ids
  • Loading branch information...
1 parent 5bbf3cb commit cc4e04798e0c12b2e10d2b5433afa24ae6918611 @ankitagarwal ankitagarwal committed Feb 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 login/forgot_password_form.php
View
4 login/forgot_password_form.php
@@ -39,15 +39,15 @@ function definition() {
$mform->setType('username', PARAM_RAW);
$submitlabel = get_string('search');
- $mform->addElement('submit', 'submitbutton', $submitlabel);
+ $mform->addElement('submit', 'submitbuttonusername', $submitlabel);
$mform->addElement('header', '', get_string('searchbyemail'), '');
$mform->addElement('text', 'email', get_string('email'));
$mform->setType('email', PARAM_RAW);
$submitlabel = get_string('search');
- $mform->addElement('submit', 'submitbutton', $submitlabel);
+ $mform->addElement('submit', 'submitbuttonemail', $submitlabel);
}
function validation($data, $files) {

0 comments on commit cc4e047

Please sign in to comment.