Skip to content

Fix timeline folder field visibility on scenario page load#3305

Merged
Salvialf merged 2 commits intodevelopfrom
fix/scenario-timeline-folder-visibility
May 4, 2026
Merged

Fix timeline folder field visibility on scenario page load#3305
Salvialf merged 2 commits intodevelopfrom
fix/scenario-timeline-folder-visibility

Conversation

@Salvialf
Copy link
Copy Markdown
Contributor

@Salvialf Salvialf commented Apr 28, 2026

The visibility of the timeline::folder field was previously controlled through a click event listener on the #generaltab container.
Because the checkbox state is restored without triggering a click, the visibility logic was not applied on page load.

The listener has been switched to a change event so the visibility is correctly updated both:

  • when the scenario loads with the Timeline option already enabled
  • when the user toggles the checkbox manually

This ensures consistent and expected behavior.

@Salvialf Salvialf added the changelog-fix Use to generate release notes / changelog To be apply on PR label Apr 28, 2026
Comment thread desktop/js/scenario.js Outdated
@Salvialf Salvialf requested a review from kwizer15 May 2, 2026 17:15
@Salvialf Salvialf merged commit dffab2f into develop May 4, 2026
9 checks passed
@Salvialf Salvialf deleted the fix/scenario-timeline-folder-visibility branch May 4, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-fix Use to generate release notes / changelog To be apply on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timeline folder field not displayed on scenario page load when timeline option is enabled

4 participants