-
-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters