#155 closed enhancement (fixed)
Confirm page close when writing on WordPress.org forums
Reported by: | Daedalon | Owned by: | dd32 |
---|---|---|---|
Milestone: | Q1 | Priority: | normal |
Component: | Support Forums | Keywords: | has-patch |
Cc: |
Description
Migrating from #wp24145:
When writing on WordPress.org forums, sometimes long and well thought-out replies are lost due to accidental page closing. This causes countless amounts of work lost within the WordPress community.
There should be a confirmation dialog to prevent accidental page closing after user has entered something in the new post form.
Comments in #wp24145 have a jQuery-based solution if we want to use it.
Attachments (1)
Change History (9)
This ticket was mentioned in Slack in #forums by clorith. View the logs.
7 years ago
#3
@
7 years ago
- Keywords needs-patch added; has-patch dev-feedback removed
- Priority changed from lowest to normal
Definitely a feature that would improve UX, and is fairly simple to implement. We are likely losing out on topics from users who can't be bothered re-typing after accidentally leaving.
Note: See
TracTickets for help on using
tickets.
Here's an improved solution based on the earlier one in #wp24145 and comments in Stack Overflow. Uses addEventListener to avoid overriding other listeners and includes a workaround for clients that don't support it.