mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-30839-master' of git://github.com/phalacee/moodle
This commit is contained in:
commit
52ef7502d6
@ -2221,7 +2221,7 @@ function validate_' . $this->_formName . '_' . $escapedElementName . '(element)
|
||||
ret = validate_' . $this->_formName . '_' . $escapedElementName.'(frm.elements[\''.$elementName.'\']) && ret;
|
||||
if (!ret && !first_focus) {
|
||||
first_focus = true;
|
||||
frm.elements[\'id_error_'.$elementName.'\'].focus();
|
||||
document.getElementById(\'id_error_'.$elementName.'\').focus();
|
||||
}
|
||||
';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user