Module

maintenanceMode/popup

Actions to manipulate with the maintenance modal dialog.

View Source maintenance-mode/maintenace-mode-popup-actions.js, line 5

Methods

# static cancel()

Rejects all pending changes and closes popup.

Properties:
Name Type Description
type string

CANCEL

View Source maintenance-mode/maintenace-mode-popup-actions.js, line 17

# static close(isMaintenanceModeEnabled)

Closes maintenance modal dialog, changes pristinity to true. There is no check performed before closing the whether user has pending changes or not. Use {cancel} for that.

Parameters:
Name Type Description
isMaintenanceModeEnabled
Properties:
Name Type Description
type string

CLOSE

View Source maintenance-mode/maintenace-mode-popup-actions.js, line 26

# static open()

Opens maintenance modal dialog.

Properties:
Name Type Description
type string

OPEN

View Source maintenance-mode/maintenace-mode-popup-actions.js, line 36