]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5167 Fix little issue
authorStas Vilchik <vilchiks@gmail.com>
Mon, 14 Apr 2014 08:26:21 +0000 (14:26 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 14 Apr 2014 08:29:04 +0000 (14:29 +0600)
sonar-server/src/main/js/navigator/filters/filter-bar.js

index 31c9d67c3b221c332b8ef1330874c3c15a510400..b45f97c80d1a8ed37cce0dc917ba4f598fca07f8 100644 (file)
@@ -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;