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