Review main Merged

74963[TASK] Allow global event handlers on click

Christian Kuhn CR +2 V +2 Normal +68 −10 updated 06/19/22, 21:51

Commit message

The backend related global-event-handler is a helper
to especially submit POST forms on various DOM elements.
It supersedes "onClick" events by having a watcher defined
by data attributes.
The patch extends given solution to also act on other
elements, especially the "<a .." tag.
This will be used by the upcoming backend TypoScript
Object browser and in general allows to send POST
requests instead of GET requests on many elements.
The JavaScript implementation has been prepared a while
ago already, but missed a use-case up until 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 2

Files 2