U4-10554 - Prevent user from leaving a page with changes

Created by Stephan 17 Oct 2017, 12:38:18 Updated by Shannon Deminick 11 Dec 2017, 09:26:41

Subtask of: U4-9609

Make sure that the user is notified if trying to close a page with changes.


Stephan 17 Oct 2017, 12:42:13

Original PR https://github.com/umbraco/Umbraco-CMS/pull/726 closed and replaced by PR https://github.com/umbraco/Umbraco-CMS/pull/2250

review: go to a page to edit content, change a value and try to close the browser window/tab => should get a warning about discarding changes - note that this is browser-controller and we cannot really configure the message

might be necessary to get approval from usuability gurus (Mads, Per?)

Stephan 18 Oct 2017, 07:30:14

fixed for cross-browser

Robert Copilau 18 Oct 2017, 09:53:37

Tested and works on all the browsers I have tried (Chrome, Firefox, Edge, IE11, Opera), merging :D.

Sebastiaan Janssen 23 Oct 2017, 11:58:24

Reverting this for now, we will need a bit more feedback on UX from Mads / NH https://github.com/umbraco/Umbraco-CMS/commit/4a0cd7228bab66de55f78a7be69142256a596a49

Priority: Normal

Type: Task

State: Reopened


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint: Sprint 74

Story Points: 1