Changes between Initial Version and Version 1 of Ticket #41535
- Timestamp:
- 08/02/2017 03:10:25 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #41535 – Description
initial v1 1 For browsers that support it, the `navigator.o ffline` property reliably indicates that the browser is offline (the inverse isn't true, but it doesn't matter).1 For browsers that support it, the `navigator.online` property reliably indicates that the browser is offline (the inverse isn't true, but it doesn't matter). 2 2 3 Prior to submission of a form in the admin area (for example the post editing screen form), WordPress should check the value of `navigator.o ffline` and present a prompt to the user stating that they appear to be offline. They can close the prompt or, optionally, ignore it and continue with the form submission.3 Prior to submission of a form in the admin area (for example the post editing screen form), WordPress should check the value of `navigator.online` and present a prompt to the user stating that they appear to be offline. They can close the prompt or, optionally, ignore it and continue with the form submission. 4 4 5 5 This functionality would help prevent data loss when a user submits a form while they don't have an internet connection.