#81983JStop() in FormResultCompiler handles Stylesheets but not JavaScript
Description
The function is remarkable wrong and noted like this:
/**
* JavaScript code added BEFORE the form is drawn:
*
* @return string A <script></script> section with JavaScript.
*/
public function JStop()
{
$stylesheetHtml = [];
foreach ($this->stylesheetFiles as $stylesheetFile) {
$stylesheetHtml[] = '<link rel="stylesheet" type="text/css" href="' . $stylesheetFile . '" />';
}
return implode(LF, $stylesheetHtml);
}Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.