No warning about leaving page profile page with unsaved edits #804

Closed
neilb opened this Issue Mar 18, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@neilb
Contributor

neilb commented Mar 18, 2013

If you edit your profile, for example by adding details of other profiles, then you can leave the page with no warning or prompting to save the page.

You could set window.onbeforeunload to warn the user about this. It works pretty portably across all browsers, you just need to be aware of IE's quirks in how it handles it (no surprise there then! :-)

@ranguard

This comment has been minimized.

Show comment Hide comment
@ranguard

ranguard Dec 21, 2013

Owner

@ranguard ranguard closed this Dec 21, 2013

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