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: compute modal title server side #26179

Merged
merged 1 commit into from Apr 29, 2024

Conversation

barredterra
Copy link
Collaborator

@barredterra barredterra commented Apr 26, 2024

The contact form shows a modal telling the user that the message was sent successfully.

The success message was computed on the server side, while the title was computed on the client side. This led to inconsistent translations.

This PR fixes this by computing the title on the server side as well.

@barredterra barredterra requested a review from a team as a code owner April 26, 2024 15:41
@barredterra barredterra requested review from akhilnarang and removed request for a team April 26, 2024 15:41
@barredterra barredterra added backport version-14-hotfix backport to version 14 backport version-15-hotfix Backport the PR to v15 labels Apr 26, 2024
@akhilnarang akhilnarang merged commit 6d55292 into frappe:develop Apr 29, 2024
25 checks passed
@barredterra barredterra deleted the contact-msg-title branch April 29, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport version-14-hotfix backport to version 14 backport version-15-hotfix Backport the PR to v15
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants