Skip to content
Snippets Groups Projects
Commit 8a8f1413 authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Bartsch
Browse files

[TASK] Avoid inline JavaScript in backend update signals

BackendUtility::getUpdateSignalCode() returned plain inline JavaScript
code which got replaced by new BackendUtility::getUpdateSignalDetails().

The new function is capable of handling inline JavaScript code (for
backward compatibility reasons) and HTML markup using corresponding
`<typo3-immediate-action>` custom element.

OpendocsToolbarItem::updateNumberOfOpenDocsHook has been adjusted as
well to use the script-less implementation.

Resolves: #96002
Resolves: #96012
Releases: master, 11.5
Change-Id: I248db207600ae5c7452471a093f84f3802050c59
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent bdf9728a
Branches
Tags
No related merge requests found
Showing
with 159 additions and 13 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment