/*! * VisualEditor UserInterface MWCategoryPopupWidget class. * * @copyright 2011-2018 VisualEditor Team and others; 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 = $( '