]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5167 Fix using "tab" inside the metric filter
authorStas Vilchik <vilchiks@gmail.com>
Wed, 9 Apr 2014 06:31:30 +0000 (12:31 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 9 Apr 2014 06:31:30 +0000 (12:31 +0600)
sonar-server/src/main/js/navigator/filters/filter-bar.js
sonar-server/src/main/less/navigator/filters.less

index 1f3ce749638dcdbc0b0271bcf18cdcd3342dc7a2..31c9d67c3b221c332b8ef1330874c3c15a510400 100644 (file)
@@ -43,7 +43,7 @@ define(
           key.filter = function(e) {
             var el = jQuery(e.target),
                 tabbableSet = el.closest('.navigator-filter-details-inner').find(':tabbable');
-            if (el.is(':input')) {
+            if (el.is(':input') || el.is('a')) {
               if (e.keyCode === 9 || e.keyCode === 27) {
                 return tabbableSet.index(el) >= tabbableSet.length - 1;
               } else {
index 6c02ed9d50e99bc1df643b3689e0bee5b1ff7237..d996b299bf5ef7df126b87fe6ecb38afaeadd26c 100644 (file)
@@ -37,6 +37,8 @@
   font-weight: normal;
   .trans;
 
+  &::-moz-focus-inner { border: 0; }
+
   &:hover, &:focus {
     border-color: @blue;
     background-color: lighten(@blue, 10%);