Skip to content

Clicking the 'reveal' button on a secret in a document in a locked compendium triggers a default browser form submission #8340

Description

@Fyorl

We should create these buttons with type="button" so they don't submit, and should also call preventDefault() for good measure. The reveal button should also be hidden in locked compendia as the document's contents cannot be modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugFunctionality which is not working as intendedjournalIssues related to the Journal and Pages systems

Type

No type

Fields

Priority

None yet

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions