Actions
Bug #92350
closedImmediateActionElement is a dependency creep
Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2020-09-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The module ImmediateActionElement
is used to render a define a custom HTML tag triggering certain actions once it's rendered, like reloading the module menu or the backend's topbar. To achieve this, it needs functionality from the modules TYPO3.ModuleMenu.App.refreshMenu
and TYPO3.Backend.Topbar.refresh
.
This module is loaded at a very early stage where those dependencies cannot do anything meaningful as there is nothing to do, namely the backend module, which causes JavaScript warnings and increases loading time.
In a perfect world, there would be some kind of a hooking system and no hardcoded list of actions, but we're not there, yet.
Actions