]> source.dussan.org Git - sonarqube.git/commitdiff
Fix component viewer permalink with duplications filter enabled
authorStas Vilchik <vilchiks@gmail.com>
Fri, 18 Jul 2014 11:10:11 +0000 (17:10 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 18 Jul 2014 11:13:03 +0000 (17:13 +0600)
sonar-server/src/main/coffee/component-viewer/header/duplications-header.coffee

index 94d72056bf78992cc0333ebbd0bbd342ef80478d..8722adf27d8ffd8c840372db059c8f5e8b41871c 100644 (file)
@@ -17,4 +17,6 @@ define [
       'click .js-filter-duplications': 'filterByDuplications'
 
 
-    filterByDuplications: (e) -> @header.filterLines e, 'filterByDuplications'
\ No newline at end of file
+    filterByDuplications: (e) ->
+      @header.filterLines e, 'filterByDuplications'
+      @state.set 'activeHeaderItem', '.js-filter-duplications'