Skip to content

Commit

Permalink
Merge remote-tracking branch 'jacky/Keyboard_Navigation_Scroll_Page_P…
Browse files Browse the repository at this point in the history
…roblem'
  • Loading branch information
Jason Frame committed Dec 6, 2012
2 parents bd9d468 + b52bb07 commit 6c96316
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jscripts/tiny_mce/classes/ui/KeyboardNavigation.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -120,18 +120,22 @@
switch (evt.keyCode) { switch (evt.keyCode) {
case DOM_VK_LEFT: case DOM_VK_LEFT:
if (enableLeftRight) t.moveFocus(-1); if (enableLeftRight) t.moveFocus(-1);
Event.cancel(evt);
break; break;


case DOM_VK_RIGHT: case DOM_VK_RIGHT:
if (enableLeftRight) t.moveFocus(1); if (enableLeftRight) t.moveFocus(1);
Event.cancel(evt);
break; break;


case DOM_VK_UP: case DOM_VK_UP:
if (enableUpDown) t.moveFocus(-1); if (enableUpDown) t.moveFocus(-1);
Event.cancel(evt);
break; break;


case DOM_VK_DOWN: case DOM_VK_DOWN:
if (enableUpDown) t.moveFocus(1); if (enableUpDown) t.moveFocus(1);
Event.cancel(evt);
break; break;


case DOM_VK_ESCAPE: case DOM_VK_ESCAPE:
Expand Down

0 comments on commit 6c96316

Please sign in to comment.