mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
Merge "Work around broken BooketLayout#focus method in OOUI for now"
This commit is contained in:
commit
d34c275020
|
@ -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 );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue