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