Issue Task Closed

#75363Methodname "JStop" has nothing to do with JS

Stefan Froemken 04/01/16, 13:36 updated 10/17/17, 23:31

Description

Hello Core-Team,

have fun reading TYPO3 sourcecode in FormResultCompiler.php

/**
 * 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);
}

Would be good to rename that method or add some JS stuff in there.

Stefan

Reviews 1