Skip to content

Commit

Permalink
fix(edit): deep edit keydown logic wasn't right
Browse files Browse the repository at this point in the history
  • Loading branch information
swalters committed Jun 12, 2015
1 parent fbc38cb commit 9e995e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/features/edit/js/gridEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,10 +882,10 @@
}

if ($scope.deepEdit &&
evt.keyCode === uiGridConstants.keymap.LEFT ||
evt.keyCode === uiGridConstants.keymap.RIGHT ||
evt.keyCode === uiGridConstants.keymap.UP ||
evt.keyCode === uiGridConstants.keymap.DOWN) {
(evt.keyCode === uiGridConstants.keymap.LEFT ||
evt.keyCode === uiGridConstants.keymap.RIGHT ||
evt.keyCode === uiGridConstants.keymap.UP ||
evt.keyCode === uiGridConstants.keymap.DOWN)) {
evt.stopPropagation();
}
// Pass the keydown event off to the cellNav service, if it exists
Expand Down

0 comments on commit 9e995e9

Please sign in to comment.