Merge "EditSummaryWidget: Disable pending animation"

This commit is contained in:
jenkins-bot 2019-04-09 20:13:07 +00:00 committed by Gerrit Code Review
commit afdd97c58f

View file

@ -19,8 +19,9 @@
ve.ui.MWEditSummaryWidget = function VeUiMWEditSummaryWidget( config ) { ve.ui.MWEditSummaryWidget = function VeUiMWEditSummaryWidget( config ) {
config = config || {}; config = config || {};
// HACK: Disable pending animation. Should be made an upstream option (T220204)
// Parent method // Parent method
ve.ui.MWEditSummaryWidget.super.apply( this, arguments ); ve.ui.MWEditSummaryWidget.super.call( this, ve.extendObject( { $pending: $( [] ) }, config ) );
// Mixin method // Mixin method
OO.ui.mixin.LookupElement.call( this, ve.extendObject( { allowSuggestionsWhenEmpty: false }, config ) ); OO.ui.mixin.LookupElement.call( this, ve.extendObject( { allowSuggestionsWhenEmpty: false }, config ) );