[MediaWiki-commits] [Gerrit] Focus input and move cursor to end when MathDialog opens - change (mediawiki...Math)

2015-11-25 Thread jenkins-bot (Code Review)
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 
Gerrit-Reviewer: Esanders 
Gerrit-Reviewer: Physikerwelt 
Gerrit-Reviewer: TheDJ 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Focus input and move cursor to end when MathDialog opens - change (mediawiki...Math)

2015-11-25 Thread Tchanders (Code Review)
Tchanders has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/255467

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/67/255467/1

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: newchange
Gerrit-Change-Id: Ie963913723b8c5f8ffb32701477627387c77eb85
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Tchanders 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits