Skip to content
Snippets Groups Projects
Commit 77b940e9 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[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: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent aa5cf656
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment