Merge "Remove redundant "choose" event handler"

This commit is contained in:
jenkins-bot 2022-09-12 10:03:52 +00:00 committed by Gerrit Code Review
commit f153331ee3

View file

@ -96,8 +96,7 @@ ve.ui.MWTransclusionOutlineTemplateWidget.prototype.initializeParameterList = fu
$ariaDescribedBy: $parametersAriaDescription
} ).connect( this, {
choose: 'onTemplateParameterChoose',
templateParameterSpaceDown: 'onTemplateParameterSpaceDown',
change: 'onParameterWidgetListChanged'
templateParameterSpaceDown: 'onTemplateParameterSpaceDown'
} );
this.$element.append(
@ -330,14 +329,6 @@ ve.ui.MWTransclusionOutlineTemplateWidget.prototype.updateUnusedParameterToggleS
}
};
/**
* @private
* @param {OO.ui.Element[]} items
*/
ve.ui.MWTransclusionOutlineTemplateWidget.prototype.onParameterWidgetListChanged = function () {
this.toggleFilters();
};
/**
* @private
* @return {boolean}