SP.Ribbon.PageState.Handlers.isDontSaveAndStopEnabled() Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Determines whether the "Don’t Save And Stop Editing" command is enabled.

var value = SP.Ribbon.PageState.Handlers.isDontSaveAndStopEnabled();

Return Value

Type: Boolean

true if the "Don’t Save And Stop Editing" command is enabled; otherwise, false.

Remarks

The "Don’t Save And Stop Editing" command is the command handler for the "Don’t Save And Stop Editing" button.

Applies To

SP.Ribbon.PageState.Handlers Class

See Also

Reference

SP.Ribbon.PageState.Handlers Methods

SP.Ribbon.PageState Namespace