-
This change aims to reduce the amount of inline JavaScript by removing `onchange` or `onclick` events and dynamically created JavaScript code/settings. * moves inline JavaScript for avatar handling to new SetupModule * avoids using configuration options `onClick`, `onClickLabels` and `confirmData.jsCodeAfterOk` which contain inline JavaScript * introduces configuration options `conformationData.eventName` and `clickData.eventName` to substitute mentioned deprecations * adds PSR-14 `AddJavaScriptModulesEvent` which allows to apply custom RequireJS modules to handle mentioned new custom events Resolves: #91132 Releases: master, 10.4 Change-Id: Ia68d0c473db862e0381671604347bd15ec89be35 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64627 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Oliver Hader <oliver.hader@typo3.org> Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
b5f34156