mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
Merge "Remove redundant "choose" event handler"
This commit is contained in:
commit
f153331ee3
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue