Class: Dialog

Granite.author.edit. Dialog


new Dialog(editable)

The Edit Dialog class.
An Edit Dialog represents a Component Dialog opened on an Editable.

Parameters:
Name Type Description
editable Granite.author.Editable

The Editable on which the Dialog will be opened

Source:
edit/edit.Dialog.js

Extends

Methods


getConfig()

Returns the configuration properties of the dialog

Inherited From:
Source:
ui/ui.Dialog.js
Returns:
Type
Granite.author.ui.Dialog~DialogConfig

getRequestData()

Returns the additional data to be sent when requesting the Dialog

Inherited From:
Source:
ui/ui.Dialog.js
Returns:
Type
Object

onClose()

The dialog has been closed

Callback

Inherited From:
Source:
ui/ui.Dialog.js

onFocus()

The dialog is focused

Callback

Inherited From:
Source:
ui/ui.Dialog.js

onOpen()

The dialog has been opened

Callback

Inherited From:
Source:
ui/ui.Dialog.js

onReady()

The dialog is ready

Callback

Inherited From:
Source:
ui/ui.Dialog.js

onSuccess(currentDialog, currentFloatingDialog)

Parameters:
Name Type Description
currentDialog jQuery

The jQuery element representing the current dialog

currentFloatingDialog jQuery

The jQuery element representing the current floating dialog

Overrides:
Source:
edit/edit.Dialog.js
Fires: