Skip to content

[BUG] select libraries button when inviting doesn't work in some languages #913

@emitlinks

Description

@emitlinks

Describe the bug
When creating an invitation and clicking on "Sélectionner les bibliothèques" (french for Select libraries), it doesn't do anything. In the browser console, there is an error that the function toggleDropdown does not exists.
The issue look related to the translation made to the JS code, some sentences are using the ' character and it's not escaped so the JS script is invalid.

Logs
If applicable, add logs to help explain your problem

VM2452 admin:1 Uncaught ReferenceError: toggleDropdown is not defined
    at HTMLButtonElement.onclick (VM2452 admin:1:26)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions