Project

General

Profile

Actions

Task #104414

open

Sortable select items: JS - allow for button-tags and remove dead code

Added by Ayke Halder about 7 hours ago. Updated about 5 hours ago.

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')


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #102783: Labeling of the SelectMultipleSideBySideElement select options is insufficientUnder Review2024-01-08

Actions
Actions

Also available in: Atom PDF