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

feature/fix dismissAddRelatedObjectPopup #309

Merged
merged 3 commits into from
Dec 14, 2023

Conversation

crucialfelix
Copy link
Owner

Later versions of Django are appending sequence numbers: __1 to the window name.
These need to be stripped off to find the html id of the input that triggered
the pop up window.

If you open multiple windows for different ajax-select inputs of the same field
then you would get sequences like members__id__2 and it would not work.
@crucialfelix crucialfelix merged commit 0522cf4 into develop Dec 14, 2023
3 checks passed
@crucialfelix crucialfelix deleted the feature/fix-dismissAddRelatedObjectPopup branch December 14, 2023 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant