[TASK] Deprecate usage of jQuery in Tooltip module
Passing jQuery objects to the methods `show()` and `hide()` of the module `TYPO3/CMS/Backend/Tooltip` has been marked as deprecated. The methods now check whether a NodeList or an HTMLElement is passed and handles the tooltip actions accordingly. If a jQuery object is passed, the old behavior is kept and a deprecation is logged in the browser's console. Resolves: #93506 Releases: master Change-Id: I680ae542f616627d3e22262c33cf126abc889d80 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67915 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Martin Kutschker <mkutschker-typo3@yahoo.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Martin Kutschker <mkutschker-typo3@yahoo.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tooltip.ts 62 additions, 16 deletions...TypeScript/backend/Resources/Public/TypeScript/Tooltip.ts
- Build/Sources/TypeScript/recordlist/Resources/Public/TypeScript/Tooltip.ts 3 additions, 3 deletions...eScript/recordlist/Resources/Public/TypeScript/Tooltip.ts
- typo3/sysext/backend/Resources/Public/JavaScript/Tooltip.js 1 addition, 1 deletiontypo3/sysext/backend/Resources/Public/JavaScript/Tooltip.js
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-93506-JQueryInTooltips.rst 37 additions, 0 deletions...n/Changelog/master/Deprecation-93506-JQueryInTooltips.rst
- typo3/sysext/recordlist/Resources/Public/JavaScript/Tooltip.js 1 addition, 1 deletion.../sysext/recordlist/Resources/Public/JavaScript/Tooltip.js
Please register or sign in to comment