/*!
- * OOUI v0.27.5
+ * OOUI v0.27.6
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 2011–2018 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2018-07-11T18:13:04Z
+ * Date: 2018-08-01T22:17:59Z
*/
( function ( OO ) {
}
};
+/**
+ * @inheritdoc
+ */
+OO.ui.MenuTagMultiselectWidget.prototype.setDisabled = function ( isDisabled ) {
+ // Parent method
+ OO.ui.MenuTagMultiselectWidget.parent.prototype.setDisabled.call( this, isDisabled );
+
+ if ( this.menu ) {
+ // Protect against calling setDisabled() before the menu was initialized
+ this.menu.setDisabled( isDisabled );
+ }
+};
+
/**
* Highlight the first selectable item in the menu, if configured.
*