SP.Ribbon.PageState.PageStateHandler.saveBeforeNavigate(evt) Event
Applies to: SharePoint Foundation 2010
Raises the beforeunload event.
SP.Ribbon.PageState.PageStateHandler.saveBeforeNavigate(evt);
Parameters
evt
Type: Object
The data for the event.
Remarks
If the page is in edit mode, this method saves all changes made to the page before navigating away from it, and sets the SP.Ribbon.PageState.PageStateHandler.ignoreNextUnload Field to false.
Applies To
SP.Ribbon.PageState.PageStateHandler Class
See Also
Reference
SP.Ribbon.PageState.PageStateHandler Events
SP.Ribbon.PageState.PageStateHandler Fields