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

Fixes #2406: Multiple requests are sent when opening create, edit, and detail modals due to repetitive load of bs4_modal.js #2407

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

irtimir
Copy link
Contributor

@irtimir irtimir commented Dec 19, 2023

Script tags that load bs4_modal.js in templates/bootstrap4/admin/model/modals/create.html, templates/bootstrap4/admin/model/modals/edit.html, and templates/bootstrap4/admin/model/modals/details.html template files are removed.

Fix: #2406

@irtimir irtimir changed the title Fixed multiple requests when opening modal windows FIX: multiple requests when opening modal windows Dec 19, 2023
@CAleksa032
Copy link

@irtimir @hasansezertasan Do we have information when this will be merged?

@irtimir
Copy link
Contributor Author

irtimir commented Jul 16, 2024

@irtimir @hasansezertasan Do we have information when this will be merged?

Hey, I forgot about this issue, I just made changes after the review and hope this fix will be merged as soon as possible.

@irtimir
Copy link
Contributor Author

irtimir commented Jul 17, 2024

@hasansezertasan let's merge this if everything looks good?

@hasansezertasan
Copy link
Member

@hasansezertasan let's merge this if everything looks good?

Let me check this once more 👍.

@hasansezertasan
Copy link
Member

hasansezertasan commented Jul 17, 2024

@davidism, @samuelhwilliams, it looks good to me. I tried it with my hasansezertasan/not-just-a-todo-app project, works very well 🚀.

I would approve this PR but, I don't have the permission to do so 😞.

@hasansezertasan hasansezertasan changed the title FIX: multiple requests when opening modal windows Fixes #2406: Multiple requests are sent when opening create, edit, and detail modals due to repetitive load of bs4_modal.js Jul 17, 2024
Copy link
Contributor

@samuelhwilliams samuelhwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice spot - thanks 👍

@samuelhwilliams samuelhwilliams merged commit 15e3639 into pallets-eco:master Jul 17, 2024
7 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

Bootstrap4: Duplicate requests when opening modal windows
4 participants