mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Focus the bookletLayout on ready in the template dialog
Depends on I60377cb5 in oojs-ui Change-Id: I5d8b73f878bf136efdc97493ef1f6e7bd6f56066
This commit is contained in:
parent
4cf254a31b
commit
0bc3edfd91
|
@ -489,6 +489,16 @@ ve.ui.MWTemplateDialog.prototype.initializeNewTemplateParameters = function () {
|
|||
*/
|
||||
ve.ui.MWTemplateDialog.prototype.initializeTemplateParameters = function () {};
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.ui.MWTemplateDialog.prototype.getReadyProcess = function ( data ) {
|
||||
return ve.ui.MWTemplateDialog.super.prototype.getReadyProcess.call( this, data )
|
||||
.next( function () {
|
||||
this.bookletLayout.focus();
|
||||
}, this );
|
||||
};
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue