jenkins-bot has submitted this change and it was merged.

Change subject: Follow-up Id473b45: Call getResults on input widget
......................................................................


Follow-up Id473b45: Call getResults on input widget

Bug: T115448
Change-Id: I8bfbb3092aa49750930c6437b0526a8b900722f1
---
M modules/ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Alex Monk: Looks good to me, approved
  Esanders: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js 
b/modules/ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js
index 2f6b190..6a0af55 100644
--- a/modules/ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js
+++ b/modules/ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js
@@ -74,7 +74,7 @@
        this.linkTypeIndex.connect( this, { set: 'onLinkTypeIndexSet' } );
        this.internalAnnotationInput.connect( this, { change: 
'onInternalLinkChange' } );
        this.externalAnnotationInput.connect( this, { change: 
'onExternalLinkChange' } );
-       this.internalAnnotationInput.getResults().connect( this, { choose: 
'onFormSubmit' } );
+       this.internalAnnotationInput.input.getResults().connect( this, { 
choose: 'onFormSubmit' } );
        // Form submit only auto triggers on enter when there is one input
        this.internalAnnotationInput.getTextInputWidget().connect( this, { 
enter: 'onFormSubmit' } );
        this.externalAnnotationInput.getTextInputWidget().connect( this, { 
enter: 'onFormSubmit' } );

-- 
To view, visit https://gerrit.wikimedia.org/r/246203
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8bfbb3092aa49750930c6437b0526a8b900722f1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: wmf/1.27.0-wmf.3
Gerrit-Owner: Alex Monk <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Esanders <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to