SP.Ribbon.PageState.Handlers.showStateChangeDialog(commandId, func) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Determines whether to show the state change dialog.

var value = SP.Ribbon.PageState.Handlers.showStateChangeDialog(commandId, func);

Parameters

commandId

Type: String

The ID of the command.

func

Type: String

The function of the state change dialog.

Return Value

Type: Boolean

true if the state change dialog is shown; otherwise, false.

Remarks

This method retrieves the list of enabled state change handlers and shows the command for each on the state change dialog.

Applies To

SP.Ribbon.PageState.Handlers Class

See Also

Reference

SP.Ribbon.PageState.Handlers Methods

SP.Ribbon.PageState Namespace