Skip to content

fix: prevent loosing mailcompose state#2618

Open
tammi-23 wants to merge 1 commit into
mainfrom
fix/mailcompose-backissue
Open

fix: prevent loosing mailcompose state#2618
tammi-23 wants to merge 1 commit into
mainfrom
fix/mailcompose-backissue

Conversation

@tammi-23
Copy link
Copy Markdown
Contributor

Prevents loss of unsaved email drafts when navigating away from the mail compose widget or closing the browser.

Copy link
Copy Markdown
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

Nice 👍

}) => {
dispatchModal({
title: $gettext('Unsaved changes'),
message: $gettext('Your email isn’t finished yet. Save it as a draft before leaving.'),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
message: $gettext('Your email isn’t finished yet. Save it as a draft before leaving.'),
message: $gettext('Your email isn’t finished yet. Save it as draft before leaving.'),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants