Skip to content

Conversation

@prandla
Copy link
Member

@prandla prandla commented Aug 21, 2025

#1486 broke the JS for language selection. I guess it's partially my fault for not locally testing it enough...

CWS doesn't use the js_init block, so this code was never getting evaluated at all. This seems like a weird failure mode in jinja, the entire block just gets completely ignored with no error?

I moved it to the correct additional_js block; and fixed the logic in test_interface. (that one has all tasks on the same page, so one global TASK_LANGUAGES isn't enough.)

@prandla prandla merged commit 9f2c568 into cms-dev:main Aug 21, 2025
4 checks passed
@prandla prandla deleted the cws-lang-select branch August 21, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants