MDL-52952 forms: Ignore autofill catching fields in form change checker

This commit is contained in:
John Okely 2016-03-23 11:54:27 +08:00
parent b5335149f4
commit 94eb96aa78

View file

@ -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>';
}