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