Alex Monk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/246203
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor
refs/changes/03/246203/1
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: newchange
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: Esanders <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits