#24068pageRenderer call addJsFile with leaving out 2nd parameter
Description
With ExtDirect this method is called to include ajax.php with a set of GET vars.
An example call from backend.php:
$this->pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.Ajax.ExtDirect', NULL, FALSE);
As 2nd parameter is NULL, it will render
<script src="..." type=""></script>
instead default type=“text/javascript”
which is invalid code.
Solution:
the patch allow to set 2nd parameter to NULL to get the default parameter used
(issue imported from #M16405)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.