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:
Alex Monk 2015-01-06 00:51:38 +00:00
parent afb0ba2eb1
commit 9966298593

View file

@ -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
*/