Issue Task Closed

#88773Recordlist: Reduce inline js and remove unnecessary onclick attr

Daniel Windloff 07/16/19, 08:57 updated 01/15/20, 17:01

Description

Some js in ext:recordlist is still inline js defined in php code or as html attr.
It is scattered in RecordlistController, DatabaseRecordList and BachendUtility and sill uses global js vars.

Move this js to own js files. Replace js where it is possible with normal links and remove unnecessary onclick attributes.
As a side effect it is some work to make the backend compatible with CSP.

Reviews 1