Project

General

Profile

Actions

Task #96012

closed

Epic #87417: Integrate proper Content Security Policy (CSP) handling

Task #87418: Refactor and remove usage of inline scripts in backend

Avoid inline JavaScript in OpendocsToolbarItem::updateNumberOfOpenDocsHook

Added by Oliver Hader over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2021-11-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

https://github.com/TYPO3/typo3/blob/v11.5.3/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php#L124-L131

  • introduce new event for updating that toolbar
  • introduce event listener
  • substitute inline code with ImmediateActionElement

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #96002: Avoid inline JavaScript in backend update signalsClosedOliver Hader2021-11-16

Actions
Actions

Also available in: Atom PDF