mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-01 01:56:20 +00:00
Focus references list dialog group input
Bug: T186640 Change-Id: I0c3bea3885c05ba2034cbe26626277640e7b5509
This commit is contained in:
parent
9ecb7af8b4
commit
f2bbd5231b
|
@ -163,6 +163,16 @@ ve.ui.MWReferencesListDialog.prototype.getSetupProcess = function ( data ) {
|
||||||
}, this );
|
}, 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 */
|
/* Registration */
|
||||||
|
|
||||||
ve.ui.windowFactory.register( ve.ui.MWReferencesListDialog );
|
ve.ui.windowFactory.register( ve.ui.MWReferencesListDialog );
|
||||||
|
|
Loading…
Reference in a new issue