Task #88773

Recordlist: Reduce inline js and remove unnecessary onclick attr

Added by Daniel Windloff 5 months ago. Updated 5 months ago.

Status:
Under Review
Priority:
Should have
Category:
Code Cleanup
Target version:
-
Start date:
2019-07-16
Due date:
% Done:

0%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

History

#1 Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61281

#2 Updated by Gerrit Code Review 5 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61281

#3 Updated by Gerrit Code Review 5 months ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61281

Also available in: Atom PDF