CUI.Page.FocusManager.registerCommandHandler(commandId, handler) Method
Applies to: SharePoint Foundation 2010
Registers a command handler for the command with the specified ID.
CUI.Page.FocusManager.registerCommandHandler(commandId, handler);
Parameters
commandId
Type: String
The ID of the command to register.
handler
Type: CUI.Page.ICommandHandler
The handler that handles the command.
Remarks
This method registers the command with the main command dispatcher if it is not already registered.