mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
MDL-52952 forms: Ignore autofill catching fields in form change checker
This commit is contained in:
parent
b5335149f4
commit
94eb96aa78
1 changed files with 1 additions and 1 deletions
|
@ -3662,5 +3662,5 @@ function get_formatted_help_string($identifier, $component, $ajax = false, $a =
|
|||
* @return string HTML to prevent password autofill
|
||||
*/
|
||||
function prevent_form_autofill_password() {
|
||||
return '<div class="hide"><input type="text" /><input type="password" /></div>';
|
||||
return '<div class="hide"><input type="text" class="ignoredirty" /><input type="password" class="ignoredirty" /></div>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue