ProcessDialog

ProcessDialog

Our class that extends OO.ui.ProcessDialog, adding a couple of methods to it.

Constructor

new ProcessDialog()

Source:

Extends

Methods

confirmClose()

Source:

Confirm closing the dialog.

(protected) handleError(e, messageName, recoverable)

Source:

Handle a error, displaying a message with the provided name and popping the pending state. If the error is not recoverable, the dialog is closed on "Dismiss".

Parameters:
Name Type Description
e CdError | Error
messageName string
recoverable boolean

isUnsaved() → {boolean}

Source:

Check if there are unsaved changes.

Returns:
Type
boolean