/*! * VisualEditor UserInterface MWCategoryPopupWidget class. * * @copyright 2011-2016 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 OO.ui.PopupWidget.call( this, config ); // Properties this.category = null; this.origSortkey = null; this.removed = false; this.$title = $( '