Review main Merged

64130[TASK] Reduce inline JavaScript in ext:beuser

Oliver Hader CR +2 V +2 Normal +164 −27 updated 04/20/20, 09:09

Commit message

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`).

* extracts inline JavaScript from controllers & templates
* GlobalEventHandler is extended to deal with custom scenarios
  that acutally would trigger a browser navigate events (e.g.
  changing a select drop-down leads to a document refresh)
* ActionDispatcher is introduced to listen and delegate
  events to global TYPO3 modules in `top` window scope

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 16