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

Bootstrap4: Duplicate requests when opening modal windows #2406

Closed
irtimir opened this issue Dec 19, 2023 · 0 comments · Fixed by #2407
Closed

Bootstrap4: Duplicate requests when opening modal windows #2406

irtimir opened this issue Dec 19, 2023 · 0 comments · Fixed by #2407

Comments

@irtimir
Copy link
Contributor

irtimir commented Dec 19, 2023

I found a problem when opening modal windows. When using bootstrap 4, if you open a detailed view (creation and editing too) on the list page, then each subsequent request will be duplicated relative to the previous one, this happens due to the repeated loading of bs4_modal.js, in the case of bootstrap 4 this is not necessary, since the bs4_modal.js and details_filter.js scripts already loaded in list.html template.

bs4_modal_issue

Minimal example: https://github.com/irtimir/flask-admin-bs4-modal-issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
1 participant