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
This would to the trick: (in combination with some checks if there are unsaved (unapplied) changed)
publicwarnUserForPossibleNotSavedChanges(e: Event){constconfirmationMessage=`Es könnte sein, dass die letzten Änderungen noch nicht gespeichert sind.`;// @ts-expect-error(e||window.event).returnValue=confirmationMessage;returnconfirmationMessage;}publiccomponentDidMount(){window.addEventListener("beforeunload",this.warnUserForPossibleNotSavedChanges);}publiccomponentWillUnmount(){window.removeEventListener("beforeunload",this.warnUserForPossibleNotSavedChanges);}
Jira issue originally created by user @liwo:
The inspector should show a warning if the window is closed if there's still unsaved data.
Jira-URL: https://jira.neos.io/browse/NEOS-534
The text was updated successfully, but these errors were encountered: