[BUGFIX] Prevent TypeError in SystemInformationMenu
In some cases the element might not be available, making the data attributes not accessible. To prevent type errors, proper checks are added. Resolves: #102510 Releases: main, 12.4 Change-Id: I061fcb3fe4f153ff45230a86ed11edf1dfb76cd8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81906 Reviewed-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de>
Showing
- Build/Sources/TypeScript/backend/toolbar/system-information-menu.ts 4 additions, 4 deletions...ces/TypeScript/backend/toolbar/system-information-menu.ts
- typo3/sysext/backend/Resources/Public/JavaScript/toolbar/system-information-menu.js 1 addition, 1 deletion...rces/Public/JavaScript/toolbar/system-information-menu.js
Please register or sign in to comment