aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-04-14 14:26:21 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-04-14 14:29:04 +0600
commita5dba1efee4185f7278bedabfda7185b6aa05de5 (patch)
treef7af19c70a99e6939d10c4c91c27f5b1363272ae
parent5ab0a98eea1a89455986ed26f58dfc573b25adca (diff)
downloadsonarqube-a5dba1efee4185f7278bedabfda7185b6aa05de5.tar.gz
sonarqube-a5dba1efee4185f7278bedabfda7185b6aa05de5.zip
SONAR-5167 Fix little issue
-rw-r--r--sonar-server/src/main/js/navigator/filters/filter-bar.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/sonar-server/src/main/js/navigator/filters/filter-bar.js b/sonar-server/src/main/js/navigator/filters/filter-bar.js
index 31c9d67c3b2..b45f97c80d1 100644
--- a/sonar-server/src/main/js/navigator/filters/filter-bar.js
+++ b/sonar-server/src/main/js/navigator/filters/filter-bar.js
@@ -42,7 +42,13 @@ define(
key.filter = function(e) {
var el = jQuery(e.target),
- tabbableSet = el.closest('.navigator-filter-details-inner').find(':tabbable');
+ box = el.closest('.navigator-filter-details-inner'),
+ tabbableSet = box.find(':tabbable');
+
+ if (box.length == 0 && (el.is(':input') || el.is('a'))) {
+ return false;
+ }
+
if (el.is(':input') || el.is('a')) {
if (e.keyCode === 9 || e.keyCode === 27) {
return tabbableSet.index(el) >= tabbableSet.length - 1;