Actions
Bug #73742
closedHook to inject js into UserSettingModule not working anymore
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-02-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
With this commit (https://github.com/TYPO3/TYPO3.CMS/commit/48321468913086e803566af0688c8578af2829a3) the hook ['ext/setup/mod/index.php']['setupScriptHook']
stopped working because the getJavaScript()
method is not called anymore. It was not documented that the hook is gone and the method is still there so I assume it was accidentally removed.
Updated by Oliver Hader almost 9 years ago
What's the impact, can it be solved differently to inject custom JavaScript into EXT:setup?
Updated by Georg Ringer about 7 years ago
- Status changed from New to Closed
Check out \TYPO3\CMS\Rsaauth\Hook\UserSetupHook::getLoginScripts
which calls the PageRenderer
and loads a requireJS module. It might be that this was not possible when the issue has been created but at least in current version that works fine.
Actions