MDL-52826 forms: Move global functions to self-contained

This commit is contained in:
David Monllao
2016-01-22 15:43:08 +08:00
parent eddec36d49
commit 2edb12ec30
5 changed files with 130 additions and 107 deletions
@@ -267,7 +267,7 @@ class HTML_QuickForm_Renderer_Tableless extends HTML_QuickForm_Renderer_Default
$this->_html = str_replace('></label>', '>&nbsp;</label>', $this->_html);
// add a validation script
if ('' != ($script = $form->getValidationScript())) {
$this->_html = $script . "\n" . $this->_html;
$this->_html = $this->_html . "\n" . $script;
}
} // end func finishForm