mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-39029 quiz password: autofocus feature added
This commit is contained in:
parent
422f68fb86
commit
6b7a020b23
@ -64,7 +64,7 @@ class quizaccess_password extends quiz_access_rule_base {
|
||||
// Don't use the 'proper' field name of 'password' since that get's
|
||||
// Firefox's password auto-complete over-excited.
|
||||
$mform->addElement('password', 'quizpassword',
|
||||
get_string('quizpassword', 'quizaccess_password'));
|
||||
get_string('quizpassword', 'quizaccess_password'), array('autofocus' => 'true'));
|
||||
}
|
||||
|
||||
public function validate_preflight_check($data, $files, $errors, $attemptid) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user