[MediaWiki-commits] [Gerrit] Make focus method of AceEditorWidget chainable - change (mediawiki...VisualEditor)
Tchanders has uploaded a new change for review. https://gerrit.wikimedia.org/r/253962 Change subject: Make focus method of AceEditorWidget chainable .. Make focus method of AceEditorWidget chainable The focus method of InputWidget and other descendants of InputWidget is already chainable Change-Id: Ib75fb7b08769e86c652c63dac069e2573e61f89a --- M modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/62/253962/1 diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js index 83449ca..9186fb9 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js @@ -276,6 +276,7 @@ } ).fail( function () { ve.ui.MWAceEditorWidget.super.prototype.focus.call( widget ); } ); + return widget; }; /** -- To view, visit https://gerrit.wikimedia.org/r/253962 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib75fb7b08769e86c652c63dac069e2573e61f89a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Tchanders___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Make focus method of AceEditorWidget chainable - change (mediawiki...VisualEditor)
jenkins-bot has submitted this change and it was merged. Change subject: Make focus method of AceEditorWidget chainable .. Make focus method of AceEditorWidget chainable The focus method of InputWidget and other descendants of InputWidget is already chainable Change-Id: Ib75fb7b08769e86c652c63dac069e2573e61f89a --- M modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: Jforrester: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js index 83449ca..9a2cc33 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWAceEditorWidget.js @@ -268,6 +268,8 @@ /** * Focus the editor + * + * @chainable */ ve.ui.MWAceEditorWidget.prototype.focus = function () { var widget = this; @@ -276,6 +278,7 @@ } ).fail( function () { ve.ui.MWAceEditorWidget.super.prototype.focus.call( widget ); } ); + return this; }; /** -- To view, visit https://gerrit.wikimedia.org/r/253962 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib75fb7b08769e86c652c63dac069e2573e61f89a Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: TchandersGerrit-Reviewer: Jforrester Gerrit-Reviewer: Tchanders Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits