Merge "Force Ace Editor to resize after the dialog has been rendered"

This commit is contained in:
jenkins-bot 2015-12-20 12:57:58 +00:00 committed by Gerrit Code Review
commit e04098facf

View file

@ -228,7 +228,8 @@ ve.ui.MWMathDialog.prototype.getReadyProcess = function ( data ) {
return this.symbolsPromise;
}, this )
.next( function () {
this.input.focus().moveCursorToEnd();
// Resize the input once the dialog has been appended
this.input.adjustSize( true ).focus().moveCursorToEnd();
}, this );
};