Add 'close' flags to closing actions in dialogs

Change-Id: Ib0eb947432c3cdaa316d1a8116d4ab91f791930d
This commit is contained in:
Ed Sanders 2020-12-07 18:53:16 +00:00
parent be17a1829e
commit 2f4140117a

View file

@ -35,7 +35,7 @@ ve.ui.MWExportWikitextDialog.static.title = ve.msg( 'visualeditor-rebase-client-
ve.ui.MWExportWikitextDialog.static.actions = [ ve.ui.MWExportWikitextDialog.static.actions = [
{ {
label: OO.ui.deferMsg( 'visualeditor-dialog-action-done' ), label: OO.ui.deferMsg( 'visualeditor-dialog-action-done' ),
flags: 'safe' flags: [ 'safe', 'close' ]
} }
]; ];