forked from crucialfelix/django-ajax-selects
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix crucialfelix#307 Add new via popup broken
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.
- Loading branch information
1 parent
a6d4a5c
commit 40c86d6
Showing
1 changed file
with
30 additions
and
27 deletions.
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