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
Add and export the following helper to listen for all "unload" / "navigate" events
export function addPageUnloadEventListener(listener: any): boolean {
// Hook the unload event for the document, window and body to ensure that the client events are flushed to the server
// As just hooking the window does not always fire (on chrome) for page navigations.
let pageUnloadAdded = addEventHandler("beforeunload", listener);
pageUnloadAdded = addEventHandler("unload", listener) || pageUnloadAdded;
pageUnloadAdded = addEventHandler("pagehide", listener) || pageUnloadAdded;
return pageUnloadAdded;
}
And update addHousekeepingBeforeUnload() in AISKU/Initialization.ts to use it
The text was updated successfully, but these errors were encountered:
Add and export the following helper to listen for all "unload" / "navigate" events
And update
addHousekeepingBeforeUnload()
in AISKU/Initialization.ts to use itThe text was updated successfully, but these errors were encountered: