/*!
- * OOjs UI v0.1.0-pre (eee616d664)
+ * OOjs UI v0.1.0-pre (571f26d0ab)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-31T23:24:06Z
+ * Date: 2014-11-03T21:02:16Z
*/
/* @noflip */
.oo-ui-rtl {
box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.25);
}
.oo-ui-fieldLayout {
+ display: block;
margin-bottom: 1em;
}
.oo-ui-fieldLayout:before,
/*!
- * OOjs UI v0.1.0-pre (eee616d664)
+ * OOjs UI v0.1.0-pre (571f26d0ab)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-31T23:23:56Z
+ * Date: 2014-11-03T21:02:06Z
*/
/* Instantiation */
/*!
- * OOjs UI v0.1.0-pre (eee616d664)
+ * OOjs UI v0.1.0-pre (571f26d0ab)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-31T23:24:06Z
+ * Date: 2014-11-03T21:02:16Z
*/
/* @noflip */
.oo-ui-rtl {
box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.25);
}
.oo-ui-fieldLayout {
+ display: block;
margin-bottom: 1em;
}
.oo-ui-fieldLayout:before,
/*!
- * OOjs UI v0.1.0-pre (eee616d664)
+ * OOjs UI v0.1.0-pre (571f26d0ab)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-31T23:24:06Z
+ * Date: 2014-11-03T21:02:16Z
*/
/* @noflip */
.oo-ui-rtl {
box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.25);
}
.oo-ui-fieldLayout {
+ display: block;
margin-bottom: 1em;
}
.oo-ui-fieldLayout:before,
/*!
- * OOjs UI v0.1.0-pre (eee616d664)
+ * OOjs UI v0.1.0-pre (571f26d0ab)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-31T23:23:56Z
+ * Date: 2014-11-03T21:02:06Z
*/
/**
* @class
/*!
- * OOjs UI v0.1.0-pre (eee616d664)
+ * OOjs UI v0.1.0-pre (571f26d0ab)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-31T23:24:06Z
+ * Date: 2014-11-03T21:02:16Z
*/
/* @noflip */
.oo-ui-rtl {
box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.25);
}
.oo-ui-fieldLayout {
+ display: block;
margin-bottom: 1em;
}
.oo-ui-fieldLayout:before,
/*!
- * OOjs UI v0.1.0-pre (eee616d664)
+ * OOjs UI v0.1.0-pre (571f26d0ab)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-10-31T23:23:56Z
+ * Date: 2014-11-03T21:02:06Z
*/
( function ( OO ) {
* Handle menu item change events.
*/
OO.ui.ComboBoxWidget.prototype.onMenuItemsChange = function () {
+ var match = this.menu.getItemFromData( this.input.getValue() );
+ this.menu.selectItem( match );
this.$element.toggleClass( 'oo-ui-comboBoxWidget-empty', this.menu.isEmpty() );
};