Actions
Task #104414
openSortable select items: JS - allow for button-tags and remove dead code
Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2024-07-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
The current implementation only allows a
-tags/HTMLAnchorElement
This adds button
-tags/HTMLButtonElement
Actually right now there is no implication of defining either one, as the defined types do not become part of the generated JS-code.
Also some dead code that had no functional implication is removed:event.target.closest('.t3js-btn-option')
already implies the element itself , so no need to check for e.target.matches('.t3js-btn-option')
Actions