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

Fix form to add exercises to days #1567

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 25, 2024

  1. Fix form duplication when id > 999 and localized

    For ids higher than 999, the localization is formating the number as
    1.234, or 1,234.
    This format make the 'updateAllExerciseFormset' js function to fail
    trying to delete the previous form:
    $('#formset-base-' + exerciseId).remove()
    
    So, each time the slider is changed, a new form is appended at the end.
    adrianlzt committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    36df3da View commit details
    Browse the repository at this point in the history