[BUGFIX] Don't toggle selection actions without identifier
Multi record selection was first introduced to filelist, where only one "table" exists. Therefore, it was sufficient to toggle all actions, after registering their events. With #95017, multi record selection got extended to be able to handle multiple instances on the same page. Since then, toggling of actions always requires to take the corresponding instance identifier into account. This is properly handled in the "restoreTemporaryState()" method. Therefore the toggling, initiated after the event registration, having no identifier information, is removed. This fixes toggling the actions of all instances as soon as one checkbox is checked. Besides, an unused selector is removed. Resolves: #95167 Related: #95017 Releases: master Change-Id: Id46b5ba51afbb1f6ad9ccd020b1820229f4aa3cd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70984 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/MultiRecordSelection.ts 0 additions, 4 deletions...ckend/Resources/Public/TypeScript/MultiRecordSelection.ts
- typo3/sysext/backend/Resources/Public/JavaScript/MultiRecordSelection.js 1 addition, 1 deletion...ckend/Resources/Public/JavaScript/MultiRecordSelection.js
Please register or sign in to comment