SP.Ribbon.PageState.Handlers.isDiscardCheckoutEnabled() Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Determines whether the "Discard Checkout" command is enabled.
var value = SP.Ribbon.PageState.Handlers.isDiscardCheckoutEnabled();
Return Value
Type: Boolean
true if the "Discard Checkout" command is enabled; otherwise, false.
Remarks
The "Discard Checkout" command is the command handler for the "Discard Checkout" button.
Applies To
SP.Ribbon.PageState.Handlers Class