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

Multiple requests caused by 'create_modal' #2431

Closed
ljh740 opened this issue May 19, 2024 · 4 comments
Closed

Multiple requests caused by 'create_modal' #2431

ljh740 opened this issue May 19, 2024 · 4 comments

Comments

@ljh740
Copy link

ljh740 commented May 19, 2024

截屏2024-05-19 21 52 44

Set any view to 'create_modal', click the create button multiple times, and close it. Requests are incremented concurrently.

@hasansezertasan
Copy link
Member

Duplicate of #2406

@ljh740
Copy link
Author

ljh740 commented May 19, 2024

Duplicate of #2406

I want to override this create.html

截屏2024-05-19 23 23 09

but it not work. can you help me?

@hasansezertasan
Copy link
Member

So you want to override model/modals/create.html, am I right?

If that is so, just create this directory: templates/admin/model/modals/create.html and do it with Jinja blocks.

@ljh740
Copy link
Author

ljh740 commented May 20, 2024

So you want to override model/modals/create.html, am I right?

If that is so, just create this directory: templates/admin/model/modals/create.html and do it with Jinja blocks.

nice!Thanks a lot!

@ljh740 ljh740 closed this as completed May 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants