mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
Disable save button (and Alt+S) on conflict
In the conflict pane, we hide the save button, so disabling it doesn't make a visual difference, but it also disables the Alt+S access key. Change-Id: I8c0d92a40a02d525ec10932656ebf38a74a97cd4
This commit is contained in:
parent
ec8234f183
commit
03dc2927ca
|
@ -137,7 +137,7 @@ ve.ui.MWSaveDialog.prototype.swapPanel = function ( panel ) {
|
||||||
} );
|
} );
|
||||||
break;
|
break;
|
||||||
case 'conflict':
|
case 'conflict':
|
||||||
this.saveButton.$element.hide();
|
this.saveButton.setDisabled( true ).$element.hide();
|
||||||
this.reviewButton.$element.hide();
|
this.reviewButton.$element.hide();
|
||||||
this.reviewGoodButton.$element.hide();
|
this.reviewGoodButton.$element.hide();
|
||||||
this.resolveConflictButton.$element.show();
|
this.resolveConflictButton.$element.show();
|
||||||
|
|
Loading…
Reference in a new issue