mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Make the Resolve conflict button actually appear
If you got an edit conflict, the save dialog would dead-end: there was no way for you to actually get to the edit conflict resolution page because we were hiding the resolve button. Bug: 69150 Change-Id: Iaccb7d0ec25d8f15398e437d614184433c33e6eb
This commit is contained in:
parent
aa95f70c4e
commit
6fce4c6359
|
@ -50,7 +50,7 @@ ve.ui.MWSaveDialog.static.actions = [
|
|||
{
|
||||
label: OO.ui.deferMsg( 'visualeditor-dialog-action-cancel' ),
|
||||
flags: 'safe',
|
||||
modes: 'save'
|
||||
modes: [ 'save', 'conflict' ]
|
||||
},
|
||||
{
|
||||
action: 'review',
|
||||
|
@ -168,7 +168,7 @@ ve.ui.MWSaveDialog.prototype.swapPanel = function ( panel ) {
|
|||
case 'conflict':
|
||||
this.actions
|
||||
.setAbilities( { save: false } )
|
||||
.setMode( 'save' );
|
||||
.setMode( 'conflict' );
|
||||
break;
|
||||
case 'review':
|
||||
this.setSize( 'large' );
|
||||
|
|
Loading…
Reference in a new issue