Skip to content
Snippets Groups Projects
Commit ca2a2567 authored by Andreas Kienast's avatar Andreas Kienast
Browse files

[TASK] linkvalidator: Calculate option toggle state on render time

This commit changes how the "Toggle all" and option and action button
states are determined. Previously, the state was determined via
JavaScript, leading to an unexpected rendering change when the module
has loaded.

To avoid this, the state is now calculated in the controller as the
necessary metrics are already known.

In the same run, `optionByType.checked` is now a simple bool flag
instead of holding arbitrary HTML attributes.

Resolves: #103454
Releases: main
Change-Id: I2da39063dbb9161873274dadddcc3b0384e36321
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83560


Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarJörg Bösche <typo3@joergboesche.de>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent bd46974b
Branches
Tags
No related merge requests found
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