Focus references list dialog group input

Bug: T186640
Change-Id: I0c3bea3885c05ba2034cbe26626277640e7b5509
This commit is contained in:
Thalia 2018-02-06 20:58:27 +00:00
parent 9ecb7af8b4
commit f2bbd5231b

View file

@ -163,6 +163,16 @@ ve.ui.MWReferencesListDialog.prototype.getSetupProcess = function ( data ) {
}, this );
};
/**
* @inheritdoc
*/
ve.ui.MWReferencesListDialog.prototype.getReadyProcess = function ( data ) {
return ve.ui.MWReferencesListDialog.super.prototype.getReadyProcess.call( this, data )
.next( function () {
this.groupInput.focus();
}, this );
};
/* Registration */
ve.ui.windowFactory.register( ve.ui.MWReferencesListDialog );