mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Re-focus edit summary input when save dialog is ready
I thought this was already being done elsewhere and so removed it back in Ifb8fd9be Bug: T75675 Change-Id: Ia015c96ec8332af75428f156e4ed7a25184db96b
This commit is contained in:
parent
afb0ba2eb1
commit
9966298593
|
@ -482,6 +482,16 @@ ve.ui.MWSaveDialog.prototype.getSetupProcess = function ( data ) {
|
|||
}, this );
|
||||
};
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.ui.MWSaveDialog.prototype.getReadyProcess = function ( data ) {
|
||||
return ve.ui.MWSaveDialog.super.prototype.getReadyProcess.call( this, data )
|
||||
.next( function () {
|
||||
this.editSummaryInput.focus();
|
||||
}, this );
|
||||
};
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue