Review 10.4 Merged

65035[TASK] Reduce inline JavaScript for refreshing backend components

Oliver Hader CR +2 V +2 Hard +227 −31 updated 07/15/20, 22:04

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 9