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
Not sure how useful this is, but it might be interesting to have an action to set a window.onbeforeunload callback. This can be handy to set from the server-side when you are sending down some data which is not persisted yet. And with this you would get a warning when you attempt to close the window/tab. Like:
The example above can be achieved with this snippet:
window.onbeforeunload=function(){returntrue;}
Obviously we would also need an action to clear the event-listener again.
The text was updated successfully, but these errors were encountered:
Not sure how useful this is, but it might be interesting to have an action to set a
window.onbeforeunload
callback. This can be handy to set from the server-side when you are sending down some data which is not persisted yet. And with this you would get a warning when you attempt to close the window/tab. Like:The example above can be achieved with this snippet:
Obviously we would also need an action to clear the event-listener again.
The text was updated successfully, but these errors were encountered: