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