[wp-trac] [WordPress Trac] #31769: Prevent navigating away while plugins are updating via shiny updates
WordPress Trac
noreply at wordpress.org
Sat Mar 28 15:29:57 UTC 2015
#31769: Prevent navigating away while plugins are updating via shiny updates
---------------------------------+-----------------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.2
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev- | Focuses: javascript, administration
feedback |
---------------------------------+-----------------------------------------
Changes (by adamsilverstein):
* keywords: needs-patch => has-patch dev-feedback
* focuses: administration => javascript, administration
Comment:
In [attachment:31769.2.diff]:
* leverage window.onbeforeunload to warn users navigating away while
plugin updates still running
* remove onbeforeunload when all updates complete
Tested in firefox: does this work correctly in IE8?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31769#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list