[BUGFIX] Allow context menu hide/unhide for all TCA-based fields
ContextMenuActions has the field "hidden" hard-coded which does not work in e.g. backend user module, where the field is called "disabled". The RecordProvider now evaluates this and adds this as a separate data attribute which is evaluated in JavaScript now. Resolves: #89939 Releases: master, 9.5 Change-Id: Ife22f229805d9bc06bd57b503f1131a815fb0691 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62953 Tested-by:Daniel Goerz <daniel.goerz@posteo.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ContextMenuActions.ts 4 additions, 2 deletions...backend/Resources/Public/TypeScript/ContextMenuActions.ts
- typo3/sysext/backend/Classes/ContextMenu/ItemProviders/PageProvider.php 3 additions, 0 deletions...ackend/Classes/ContextMenu/ItemProviders/PageProvider.php
- typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php 15 additions, 0 deletions...kend/Classes/ContextMenu/ItemProviders/RecordProvider.php
- typo3/sysext/backend/Resources/Public/JavaScript/ContextMenuActions.js 1 addition, 1 deletion...backend/Resources/Public/JavaScript/ContextMenuActions.js
Please register or sign in to comment