Update OOjs UI to v0.1.0-pre (571f26d0ab)
authorJames D. Forrester <jforrester@wikimedia.org>
Mon, 3 Nov 2014 21:02:19 +0000 (13:02 -0800)
committerJames D. Forrester <jforrester@wikimedia.org>
Mon, 3 Nov 2014 21:02:19 +0000 (13:02 -0800)
New changes:
8ada8cd OOUI PHP: Use 'OOUI' namespace instead of 'OoUi' class name prefix
4c56ad5 More random documentation fixes
3eb27b9 Recompute ComboBox selection when adding/removing items
e596cc5 Followup d3367bb: make FieldsetLayout <label>s display: block;

Change-Id: I5525a6285f4f24fa0fd997482c1735bef5639dc6

resources/lib/oojs-ui/oojs-ui-apex.css
resources/lib/oojs-ui/oojs-ui-apex.js
resources/lib/oojs-ui/oojs-ui-apex.svg.css
resources/lib/oojs-ui/oojs-ui-mediawiki.css
resources/lib/oojs-ui/oojs-ui-mediawiki.js
resources/lib/oojs-ui/oojs-ui-mediawiki.svg.css
resources/lib/oojs-ui/oojs-ui.js

index 21ea55c..1056abc 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * 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,
index fa46278..fb6b342 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * 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 */
 
index 10d8afb..5182a5f 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * 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,
index dd4fe03..5266918 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * 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,
index e4fbd64..5264487 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * 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
index 8f4e5a1..9125945 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * 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,
index 3aaeae2..9e9aa5b 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * 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 ) {
 
@@ -9806,6 +9806,8 @@ OO.ui.ComboBoxWidget.prototype.onMenuChoose = function ( item ) {
  * 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() );
 };