jenkins-bot has submitted this change and it was merged. Change subject: Focus input and move cursor to end when MathDialog opens ......................................................................
Focus input and move cursor to end when MathDialog opens Change-Id: Ie963913723b8c5f8ffb32701477627387c77eb85 --- M modules/ve-math/ve.ui.MWMathDialog.js 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Esanders: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/ve-math/ve.ui.MWMathDialog.js b/modules/ve-math/ve.ui.MWMathDialog.js index ef9612a..7d22f6c 100644 --- a/modules/ve-math/ve.ui.MWMathDialog.js +++ b/modules/ve-math/ve.ui.MWMathDialog.js @@ -224,6 +224,7 @@ 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 ); }; -- To view, visit https://gerrit.wikimedia.org/r/255467 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie963913723b8c5f8ffb32701477627387c77eb85 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Math Gerrit-Branch: master Gerrit-Owner: Tchanders <thalia.e.c...@googlemail.com> Gerrit-Reviewer: Esanders <esand...@wikimedia.org> Gerrit-Reviewer: Physikerwelt <w...@physikerwelt.de> Gerrit-Reviewer: TheDJ <hartman.w...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits