From d01ad017e43f4b99ed85604b436b0cfb56c105c9 Mon Sep 17 00:00:00 2001 From: Kasper Nilsson Date: Wed, 7 Dec 2016 18:02:34 -0800 Subject: [PATCH] Fix improper implementation of getKeyboardEvent Bug: Issue 5088 Change-Id: Iee82c135230f78f823c25982aaeba1ea6ece1709 --- .../keyboard-shortcut-behavior.html | 8 +++--- .../keyboard-shortcut-behavior_test.html | 26 +++++++++++++++++++ .../gr-change-list/gr-change-list.html | 2 +- .../change/gr-change-view/gr-change-view.html | 2 +- .../change/gr-file-list/gr-file-list.html | 2 +- .../core/gr-search-bar/gr-search-bar.html | 2 +- .../diff/gr-diff-view/gr-diff-view.html | 2 +- .../gr-selection-action-box.html | 2 +- polygerrit-ui/app/elements/gr-app.html | 2 +- .../elements/shared/gr-button/gr-button.html | 2 +- polygerrit-ui/app/test/index.html | 1 + 11 files changed, 40 insertions(+), 11 deletions(-) rename polygerrit-ui/app/behaviors/{ => keyboard-shortcut-behavior}/keyboard-shortcut-behavior.html (81%) rename polygerrit-ui/app/behaviors/{ => keyboard-shortcut-behavior}/keyboard-shortcut-behavior_test.html (75%) diff --git a/polygerrit-ui/app/behaviors/keyboard-shortcut-behavior.html b/polygerrit-ui/app/behaviors/keyboard-shortcut-behavior/keyboard-shortcut-behavior.html similarity index 81% rename from polygerrit-ui/app/behaviors/keyboard-shortcut-behavior.html rename to polygerrit-ui/app/behaviors/keyboard-shortcut-behavior/keyboard-shortcut-behavior.html index f2c6ab81c1..3d99cec0a9 100644 --- a/polygerrit-ui/app/behaviors/keyboard-shortcut-behavior.html +++ b/polygerrit-ui/app/behaviors/keyboard-shortcut-behavior/keyboard-shortcut-behavior.html @@ -13,20 +13,22 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - - + + diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.html b/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.html index bab2014f4e..bd81a484d3 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.html +++ b/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.html @@ -15,7 +15,7 @@ limitations under the License. --> - + diff --git a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html index 85c3fb8962..50b889ceea 100644 --- a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html +++ b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html @@ -16,7 +16,7 @@ limitations under the License. - + diff --git a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html index 6425acb7a6..7931d94940 100644 --- a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html +++ b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + diff --git a/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar.html b/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar.html index a79e8305f0..7a638106c1 100644 --- a/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar.html +++ b/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar.html @@ -15,7 +15,7 @@ limitations under the License. --> - + diff --git a/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.html b/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.html index 402cd36e94..52ac524979 100644 --- a/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.html +++ b/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.html @@ -17,7 +17,7 @@ limitations under the License. - + diff --git a/polygerrit-ui/app/elements/diff/gr-selection-action-box/gr-selection-action-box.html b/polygerrit-ui/app/elements/diff/gr-selection-action-box/gr-selection-action-box.html index 98f6b01aaf..5f74f1fde9 100644 --- a/polygerrit-ui/app/elements/diff/gr-selection-action-box/gr-selection-action-box.html +++ b/polygerrit-ui/app/elements/diff/gr-selection-action-box/gr-selection-action-box.html @@ -15,7 +15,7 @@ limitations under the License. --> - +