new mw.widgets.AbandonEditDialog(configopt)
#
Confirm dialog shown when the users is leaving an editor without saving.
The useeditwarning
user option should be checked before showing this dialog.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
config |
Object |
<optional> |
Configuration options |
Confirm dialog shown when the users is leaving an editor without saving.