Merge "Focus the bookletLayout on ready in the template dialog"

This commit is contained in:
jenkins-bot 2014-11-23 17:19:11 +00:00 committed by Gerrit Code Review
commit b69fef2196

View file

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