From 9749aeeb0bda83019c1872a72d438a19f9cb3085 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Mon, 16 Jun 2014 06:35:57 -0400 Subject: [PATCH] Avoid scrolling of lists and menus when navigating with cursor keys (#1489929) --- program/js/treelist.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/treelist.js b/program/js/treelist.js index ea17298..1427c24 100644 --- a/program/js/treelist.js +++ b/program/js/treelist.js @@ -739,7 +739,7 @@ if (li.length) { focus_next(li, (mod = keyCode == 38 || keyCode == 63232 ? -1 : 1)); } - break; + return rcube_event.cancel(e); case 37: // Left arrow key case 39: // Right arrow key -- Gitblit v1.9.1