/*!
- * OOjs UI v0.24.3
+ * OOjs UI v0.24.4
* https://www.mediawiki.org/wiki/OOjs_UI
*
- * Copyright 2011–2017 OOjs UI Team and other contributors.
+ * Copyright 2011–2018 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2017-11-28T23:28:05Z
+ * Date: 2018-01-02T19:08:58Z
*/
( function ( OO ) {
OO.ui.mixin.RequestManager.call( this, config );
// Properties
- this.$overlay = config.$overlay || this.$element;
+ this.$overlay = ( config.$overlay === true ? OO.ui.getDefaultOverlay() : config.$overlay ) || this.$element;
this.lookupMenu = new OO.ui.MenuSelectWidget( {
widget: this,
input: this,
// Configuration initialization
config = $.extend( {
allowArbitrary: false,
- allowDuplicates: false,
- $overlay: this.$element
+ allowDuplicates: false
}, config );
// Properties (must be set before mixin constructor calls)
this.$content = $( '<div>' );
this.allowArbitrary = config.allowArbitrary;
this.allowDuplicates = config.allowDuplicates;
- this.$overlay = config.$overlay;
+ this.$overlay = ( config.$overlay === true ? OO.ui.getDefaultOverlay() : config.$overlay ) || this.$element;
this.menu = new OO.ui.MenuSelectWidget( $.extend(
{
widget: this,
// Parent constructor
OO.ui.PopupTagMultiselectWidget.parent.call( this, $.extend( { inputPosition: 'none' }, config ) );
- this.$overlay = config.$overlay || this.$element;
+ this.$overlay = ( config.$overlay === true ? OO.ui.getDefaultOverlay() : config.$overlay ) || this.$element;
if ( !config.popup ) {
// For the default base implementation, we give a popup
// Parent constructor
OO.ui.MenuTagMultiselectWidget.parent.call( this, config );
- this.$overlay = config.$overlay || this.$element;
+ this.$overlay = ( config.$overlay === true ? OO.ui.getDefaultOverlay() : config.$overlay ) || this.$element;
this.menu = this.createMenuWidget( $.extend( {
widget: this,