Review main Merged

76220[BUGFIX] Load modal CSS for EXT:dashboard only in BackendController

Andreas Kienast CR +2 V +2 Easy +40 −7 updated 10/21/22, 18:14

Commit message

EXT:dashboard has some custom CSS for its modal contents. Due to how
modals are rendered, the CSS needs to be loaded in the global backend
scaffold.

Previously, the CSS was unnecessarily loaded in every backend module as
the CSS was configured as a "skin", which comes from a time where the
TYPO3 backend was fully skinnable. Using this approach is probably a
workaround due to lacking API back then.

Since TYPO3 v12, there is a `AfterBackendPageRenderEvent` event
available in the outer backend controller which is now used to load the
custom CSS.

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 3