| Index: chrome/browser/resources/md_bookmarks/list.js
|
| diff --git a/chrome/browser/resources/md_bookmarks/list.js b/chrome/browser/resources/md_bookmarks/list.js
|
| index f960e2eb5243cc862611af4093176d11d3436e3d..cb0bdb9a9e8b464876d9698c91f35c2b7826c86e 100644
|
| --- a/chrome/browser/resources/md_bookmarks/list.js
|
| +++ b/chrome/browser/resources/md_bookmarks/list.js
|
| @@ -179,6 +179,15 @@ Polymer({
|
| }
|
| }
|
|
|
| + // Prevent the iron-list from changing focus on enter.
|
| + if (e.path[0] instanceof HTMLButtonElement && e.key == 'Enter')
|
| + handled = true;
|
| +
|
| + if (!handled) {
|
| + handled = bookmarks.CommandManager.getInstance().handleKeyEvent(
|
| + e, this.getState().selection.items);
|
| + }
|
| +
|
| if (handled)
|
| e.stopPropagation();
|
| },
|
|
|