Node edit protection does not protect against navigating away from preview page

Created on 22 May 2014, about 10 years ago
Updated 7 February 2023, over 1 year ago

If instead of clicking Save, the user clicks Preview, and then navigates away from that, the work is (potentially) lost.

Steps:
1. Log in
2. Add content
3. Choose a content type, e.g., Basic Page
4. Type in all required fields
5. Click Preview
6. Click Home button

Actual results: Navigates away from page without warning.
Expected results: Gives navigation warning. That is, preview is assumed dirty.

(In this instance, I was able to use the back button and retained my work, but had step 6 been Click Log out, the work would have been lost.)

πŸ› Bug report
Status

Closed: outdated

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Charles Belov San Francisco, CA, US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024