-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Related modal window includes the header. #377
Comments
Investigating what is happeningClicking the link, the url is loaded in the modal window: It returns a The problem is that django, for security reasons filters out unexpected query-string parameters, and in this case the This behavior, although very useful, is also very limiting in case you want to load custom pages in modal windows and use custom query-string parameters for specific needs. |
@merwok do you have any ideas on how this problem could be solved/avoided? |
Not sure I understand the comment in related-modal.js «Browsers stop loading nested iframes with same src» (same as origin page I suppose?) – but why would they be the same? The main page does not have |
@merwok I don't remember well the nested modals open on the same url issue. |
Python version
3.11
Django version
4.2.9
Package version
0.28.6
Current behavior (bug description)
When opening a custom modal window (just adding
_popup=1
suffix to the url), the resulting modal window content includes the admin site header.Expected behavior
The resulting modal window content must not include the admin site header.
Upvote & Fund
The text was updated successfully, but these errors were encountered: