mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
Merge branch 'MDL-70987-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
572ec82454
1 changed files with 1 additions and 1 deletions
|
@ -2579,7 +2579,7 @@ require(["core/event", "jquery"], function(Event, $) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// This handles both randomised (MDL-65217) and non-randomised IDs.
|
// This handles both randomised (MDL-65217) and non-randomised IDs.
|
||||||
$errorid = preg_replace('/^id_/', 'id_error_', $this->_attributes['id']);
|
$errorid = preg_replace('/^id_/', 'id_error_', $elem->_attributes['id']);
|
||||||
$validateJS .= '
|
$validateJS .= '
|
||||||
ret = validate_' . $this->_formName . '_' . $escapedElementName.'(frm.elements[\''.$elementName.'\'], \''.$escapedElementName.'\') && ret;
|
ret = validate_' . $this->_formName . '_' . $escapedElementName.'(frm.elements[\''.$elementName.'\'], \''.$escapedElementName.'\') && ret;
|
||||||
if (!ret && !first_focus) {
|
if (!ret && !first_focus) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue