Skip to content

UI 48099: Fix Data Table Select All Row Handling#11779

Open
matheuszych wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
matheuszych:ui/48099
Open

UI 48099: Fix Data Table Select All Row Handling#11779
matheuszych wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
matheuszych:ui/48099

Conversation

@matheuszych

Copy link
Copy Markdown
Contributor

See: https://mantis.ilias.de/view.php?id=48099

The "Select all" / "Unselect all" actions in Kitchen Sink data tables only affected the first row and caused a JavaScript exception. Replaced getElementsByClassName with querySelectorAll in #disableRowSelection and collectSelectedRowIds so all row selectors are iterated correctly, and rebuilt table.min.js.

/cc @oliversamoila @thibsy @thojou

See: https://mantis.ilias.de/view.php?id=48099

The "Select all" / "Unselect all" actions in Kitchen Sink data tables
only affected the first row and caused a JavaScript exception. Replaced
`getElementsByClassName` with `querySelectorAll` in
`#disableRowSelection` and `collectSelectedRowIds` so all row selectors
are iterated correctly, and rebuilt `table.min.js`.
@oliversamoila oliversamoila added bugfix kitchen sink javascript Pull requests that update Javascript code labels Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix javascript Pull requests that update Javascript code kitchen sink

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants