| Index: third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menu-behavior-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menu-behavior-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menu-behavior-extracted.js
|
| index a604a0b3df4bf123a6bcb40aee5eef9d5bab0d83..6353283bad54a6dffe901a7242f528f0aa9ae263 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menu-behavior-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menu-behavior-extracted.js
|
| @@ -10,9 +10,7 @@
|
|
|
| /**
|
| * Returns the currently focused item.
|
| - *
|
| - * @attribute focusedItem
|
| - * @type Object
|
| + * @type {?Object}
|
| */
|
| focusedItem: {
|
| observer: '_focusedItemChanged',
|
| @@ -24,9 +22,6 @@
|
| * The attribute to use on menu items to look up the item title. Typing the first
|
| * letter of an item when the menu is open focuses that item. If unset, `textContent`
|
| * will be used.
|
| - *
|
| - * @attribute attrForItemTitle
|
| - * @type String
|
| */
|
| attrForItemTitle: {
|
| type: String
|
| @@ -103,6 +98,7 @@
|
| this._defaultFocusAsync = null;
|
| }
|
| var item = this._valueToItem(value);
|
| + if (item && item.hasAttribute('disabled')) return;
|
| this._setFocusedItem(item);
|
| Polymer.IronMultiSelectableBehaviorImpl.select.apply(this, arguments);
|
| },
|
|
|