Skip to content
Snippets Groups Projects
Commit 1d0f8fce authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Hader
Browse files

[TASK] Use GlobalEventHandler and ActionDispatcher instead of inline JS

This change aims to reduce the amount of inline JavaScript by
removing `onchange` or `onclick` events and dynamically created
JavaScript code/settings.

* adjusts invocations of top.TYPO3.InfoWindow.showItem
* adjusts low-level inline `onchange` and `onclick` events

Both JavaScript modules `TYPO3/CMS/Backend/GlobalEventHandler` and
`TYPO3/CMS/Backend/ActionDispatcher` are required to actually handle
these new triggers and correpsonding events - that's why they are
loaded in `ModuleTemplate` and deprecated `DocumentTemplate`.

Resolves: #91117
Releases: master
Change-Id: Ie7012445d09c3aee253548cb3057c8e9e4b86809
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64242


Tested-by: default avatarJosef Glatz <josefglatz@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarJosef Glatz <josefglatz@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent 8e305dd1
Branches
Tags
No related merge requests found
Showing
with 206 additions and 63 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment