Skip to content
Commit 9199f254 authored by Oliver Hader's avatar Oliver Hader Committed by Benni Mack
Browse files

[TASK] Reduce inline JavaScript in ext:filelist

This change aims to reduce the amount of inline JavaScript by
removing `onchange` or `onclick` events and dynamically created
JavaScript code/settings. There are still a couple of aspects
that need to be solved in a general way - e.g. assigning global
language labels (`TYPO3.lang`) or settings (`TYPO3.settings`).

* allows `Modal` confirmation to emit `ModalResponseEvent`
* extracts inline JavaScript from controllers & templates
* introduces `BroadcastChannel` in `nav_frame` (folder tree)
* uses plain links (`<a href="..."`) where applicable
* updates folder tree when navigating in browser history

Resolves: #91016
Releases: master
Change-Id: Ied6a626e09df07bd1a240b9b6b4250cd6fff4c8a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64154


Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 3da3e5e6
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