Skip to content
Snippets Groups Projects
Commit 451633f5 authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Oliver Hader
Browse files

[TASK] Reduce inline JavaScript for refreshing backend components

Left-hand module menu and top toolbar are refreshed using inline
JavaScript when e.g. an extension is de-/activated in extension
manager or users switch their backend language in setup module.

A new module `ImmediateActionElement` is introduced that
implements the Custom HTML Element `<typo3-immediate-action action="…">`.
The element immediately dispatches the action passed via the
action attribute once attached to the DOM.

We therefore drop the (currently unused) data-dispatch-immediately
attribute which was introduced in #91015, as we opt for a more
streamlined custom HTML element implementation now.

Resolves: #91191
Releases: master, 10.4
Change-Id: I2724c51da3ea9aea0556ac63e834368e48866dd4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64675


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent efd86093
Showing
with 227 additions and 31 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