mirror of
https://github.com/moodle/moodle.git
synced 2025-07-19 13:21:42 +02:00
MDL-52826 forms: Using id attr
Switch from custom id references to the element's id attribute. Extra fix to get rid of an unnecessary call to getValidationScript().
This commit is contained in:
@@ -198,11 +198,6 @@ function validate_' . $this->_attributes['id'] . '(frm) {
|
||||
} // end func getValidationScript
|
||||
|
||||
// }}}
|
||||
|
||||
function display() {
|
||||
$this->getValidationScript();
|
||||
return parent::display();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user