You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
We need to handle the situation when a user leaves a particular page and the window.onbeforeunload() method does not seem to be called with the router.
A possible solution would be to patch navigateAction.js to check if there is a window.onbeforeunload() method defined on the window, retrieve the string value from it, and then call window.confirm() with the appropriate string.
Thoughts?
The text was updated successfully, but these errors were encountered:
We need to handle the situation when a user leaves a particular page and the
window.onbeforeunload()
method does not seem to be called with the router.A possible solution would be to patch navigateAction.js to check if there is a
window.onbeforeunload()
method defined on thewindow
, retrieve the string value from it, and then callwindow.confirm()
with the appropriate string.Thoughts?
The text was updated successfully, but these errors were encountered: