]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5167 Bug fixes
authorStas Vilchik <vilchiks@gmail.com>
Mon, 7 Apr 2014 05:46:13 +0000 (11:46 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 7 Apr 2014 05:46:13 +0000 (11:46 +0600)
sonar-server/src/main/coffee/coding-rules/views/coding-rules-list-view.coffee
sonar-server/src/main/coffee/coding-rules/views/filter-bar-view.coffee
sonar-server/src/main/js/issues/extra.js
sonar-server/src/main/js/navigator/filters/filter-bar.js

index c91beba027eb37709c6d218623e28a473027ded4..060daec34bd6313582bf9dea6f015ca7e38dff43 100644 (file)
@@ -30,6 +30,12 @@ define [
       key 'down', 'list', => @selectNext()
 
 
+    close: ->
+      super
+      key.unbind 'up', 'list'
+      key.unbind 'down', 'list'
+
+
     selectIssue: (el, open) ->
       @$('.active').removeClass 'active'
       el.addClass 'active'
index 6a719be85aa296d8b4cd59257025479b8ef4f6f8..f1a4f157098c7525f5ac6be112ebf7ed4e9c83e8 100644 (file)
@@ -61,6 +61,7 @@ define [
 
 
     search: ->
+      @$('.navigator-filter-submit').blur()
       @options.app.state.set
         query: this.options.app.getQuery(),
         search: true
index 0cf04865b0efa8a20fecf271d6ea9f876f82d1bb..51dae17c33b91feb5df98617be5cc5d4bc916dbb 100644 (file)
@@ -478,6 +478,7 @@ define(
 
 
         search: function () {
+          this.$('.navigator-filter-submit').blur();
           this.options.app.state.set({
             query: this.options.app.getQuery(),
             search: true
index 300646c56505de7a665e7bc83b0290b9bfb17146..1f3ce749638dcdbc0b0271bcf18cdcd3342dc7a2 100644 (file)
@@ -93,6 +93,7 @@ define(
           if (this.selected > 0) {
             this.selected--;
             filters.eq(this.selected).click();
+            this.$('.navigator-filter-submit').blur();
           }
         },