Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize double checkboxes in QTX options #1177

Merged
merged 1 commit into from
May 29, 2022
Merged

Generalize double checkboxes in QTX options #1177

merged 1 commit into from
May 29, 2022

Conversation

herrvigg
Copy link
Collaborator

Add a generic feature to handle double checkboxes in options e.g. for confirmation.
The main checkbox must have:

  • HTML class qtranxs_double_check
  • attribute data-double-check giving CSS selector for associated checkbox(es)

The associated checkboxes should be disabled by default.

Rename qtranslate_reset IDs for disambiguation (x3).

Add a generic feature to handle double checkboxes in options e.g. for confirmation.
The main checkbox must have:
- HTML class `qtranxs_double_check`
- attribute `data-double-check` giving CSS selector for associated checkbox(es)

The associated checkboxes should be disabled by default.

Rename `qtranslate_reset` IDs for disambiguation (x3).
@herrvigg herrvigg added the core Core functionalities, including the admin section label May 29, 2022
@herrvigg herrvigg merged commit fbdee8f into master May 29, 2022
@herrvigg herrvigg deleted the double-check branch June 6, 2022 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core functionalities, including the admin section
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant