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

Fix admin repost warning. #2953

Merged
merged 1 commit into from Dec 4, 2022
Merged

Conversation

BlackDex
Copy link
Collaborator

@BlackDex BlackDex commented Dec 3, 2022

Currently when you login into the admin, and then directly hit the save button, it will come with a re-post/re-submit warning. This has to do with the window.location.reload() function, which triggers the admin login POST again.

By changing the way to reload the page, we prevent this repost.

Currently when you login into the admin, and then directly hit the save
button, it will come with a re-post/re-submit warning.
This has to do with the `window.location.reload()` function, which
triggers the admin login POST again.

By changing the way to reload the page, we prevent this repost.
@dani-garcia dani-garcia merged commit b022be9 into dani-garcia:main Dec 4, 2022
@BlackDex BlackDex deleted the fix-admin-repost branch December 5, 2022 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants