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

Added confirm message if user wants to leave a page with unsaved changes #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sfetzel
Copy link
Contributor

@sfetzel sfetzel commented Aug 23, 2017

If the configuration option confirmUnsavedChanges is set to true, a user leaving a page with a dirty editor (means unsaved changes) will be reminded to save changes.

Simon Fetzel added 3 commits August 23, 2017 15:07
If it is set to true, users will be reminded to save changes,
if they want to leave the page with a dirty editor.
@sfetzel
Copy link
Contributor Author

sfetzel commented Aug 23, 2017

I just saw that I used window.onbeforeunload. That's not good. Please correct it to
window.addEventListener("beforeunload", function(eventArgs)

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

1 participant