[CLEANUP] TSFE: Deprecate JSfuncCalls for body tag
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-62363-TSFE-JSfuncCalls.rst
1 =====================================================
2 Deprecation: #62363 - TSFE->JSeventFuncCalls disabled
3 =====================================================
4
5 Description
6 ===========
7
8 TYPO3 CMS provides a way to register direct JS calls to be added to the body tag of the frontend output
9 to allow several functions to register for e.g. "onload". Nowadays this is done via JS frameworks directly,
10 or via JS variables.
11
12 The functionality has marked as deprecated.
13
14 Impact
15 ======
16
17 The core does not use this functionality anymore. Installations with menus using "GMENU_LAYERS",
18 which have been removed from the core a while ago, but still use it via third-party extensions,
19 might not work anymore as expected.
20
21
22 Affected installations
23 ======================
24
25 All installations which use the $TSFE->JSeventFuncCalls option, e.g. like GMENU_LAYERS.
26
27 Migration
28 =========
29
30 Every call of a 3rd party extension to the mentioned method must be changed to use their own
31 JS function registration.