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