]> source.dussan.org Git - sonarqube.git/commitdiff
remove the focus from the search input in the rules page
authorStas Vilchik <vilchiks@gmail.com>
Thu, 29 Jan 2015 13:25:06 +0000 (14:25 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 29 Jan 2015 14:34:59 +0000 (15:34 +0100)
server/sonar-web/src/main/js/coding-rules/facets/query-facet.js

index a6ed373fc15349075a4039c08ffd8392fd0066cf..a657399949fdd0d65606be62c23c0f3a8cdb7ec2 100644 (file)
@@ -20,13 +20,6 @@ define([
       if (value != null) {
         this.$('input').val(value);
       }
-
-      if (Object.keys(query).length === 0) {
-        var that = this;
-        setTimeout(function () {
-          that.$('input').focus();
-        }, 100);
-      }
     },
 
     applyFacet: function() {