Merge "Work around broken BooketLayout#focus method in OOUI for now"

This commit is contained in:
jenkins-bot 2014-11-25 23:57:26 +00:00 committed by Gerrit Code Review
commit d34c275020

View file

@ -495,7 +495,8 @@ ve.ui.MWTemplateDialog.prototype.initializeTemplateParameters = function () {};
ve.ui.MWTemplateDialog.prototype.getReadyProcess = function ( data ) {
return ve.ui.MWTemplateDialog.super.prototype.getReadyProcess.call( this, data )
.next( function () {
this.bookletLayout.focus();
// TODO: Uncomment this when OOUI is updated so .focus() on an empty booklet doesn't crash
//this.bookletLayout.focus();
}, this );
};