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:
David Monllao
2016-01-28 08:54:10 +08:00
parent 80f37f2739
commit 3e51b0ad7e
2 changed files with 3 additions and 8 deletions

View File

@@ -198,11 +198,6 @@ function validate_' . $this->_attributes['id'] . '(frm) {
} // end func getValidationScript
// }}}
function display() {
$this->getValidationScript();
return parent::display();
}
}
?>
?>