/*! * VisualEditor UserInterface MWCategoryPopupWidget class. * * @copyright See AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /** * Creates an ve.ui.MWCategoryPopupWidget object. * * @class * @extends OO.ui.PopupWidget * * @constructor * @param {Object} [config] Configuration options */ ve.ui.MWCategoryPopupWidget = function VeUiMWCategoryPopupWidget( config ) { // Configuration initialization config = ve.extendObject( { autoClose: true }, config ); // Parent constructor ve.ui.MWCategoryPopupWidget.super.call( this, config ); // Properties this.category = null; this.origSortkey = null; this.removed = false; this.$title = $( '