Skip to content
Snippets Groups Projects
Commit c952139d authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benni Mack
Browse files

[BUGFIX] Streamline clipboard handling

Elements, transferred to the clipboard are no longer
selected after reloading the module. Since introducing
multi record selection, the checkboxes are no longer
bound to clipboard functionality, which makes selecting
elements, just because they were added to a clipboard,
pointless. This did anyway never work for elements in
the "normal" clipboard. Furthermore did selecting
elements always display the corresponding multi
record selection actions. Since those actions overlayed
the module specific actions, e.g. the link to single table
view in the recordlist module, it was no longer possible
to execute the module specific actions, as soon
as one record had been transferred to clipboard.

The old clipboard behaviour allowed to remove items
from clipboard by unchecking them and submitting
this deselection. With the multi record selection
component, this is no longer possible. At least not
all elements can be remove, since the actions are
only shown if at least one element is selected.
To fix this, a new action "Remove from clipboard" is
added to the actions bar, allowing to remove a
dedicated selection of elements from clipboard.
This is anyways more understandable for an editor.

Finally the "paste" action is removed from the
multi record selection actions as it has nothing to
do with the current selection.

Resolves: #95225
Related: #95146
Releases: master
Change-Id: Ibbdadba1c89ac81f9f440fee5d34600663ad6974
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71091


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent eb0a656a
Branches
Tags
Showing
with 61 additions and 101 deletions
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