Focus the math dialog input after the symbols promise has returned
Bug: T119778 Change-Id: Ia5afe667241543addbda95d4d284b8af63f693a1
This commit is contained in:
parent
76cd36c4a0
commit
4087a1cec0
|
@ -225,8 +225,10 @@ ve.ui.MWMathDialog.prototype.getSetupProcess = function ( data ) {
|
|||
ve.ui.MWMathDialog.prototype.getReadyProcess = function ( data ) {
|
||||
return ve.ui.MWMathDialog.super.prototype.getReadyProcess.call( this, data )
|
||||
.next( function () {
|
||||
this.input.focus().moveCursorToEnd();
|
||||
return this.symbolsPromise;
|
||||
}, this )
|
||||
.next( function () {
|
||||
this.input.focus().moveCursorToEnd();
|
||||
}, this );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue