aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-07-18 17:10:11 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-07-18 17:13:03 +0600
commit7059b993bb888ceb7866fa5b0ac926064c91bc18 (patch)
treea0c52dec21a699f25db5415f2f9f5f83fa030c61
parent29281e2cadd84ca2ae9423bdb90729fce6dbd132 (diff)
downloadsonarqube-7059b993bb888ceb7866fa5b0ac926064c91bc18.tar.gz
sonarqube-7059b993bb888ceb7866fa5b0ac926064c91bc18.zip
Fix component viewer permalink with duplications filter enabled
-rw-r--r--sonar-server/src/main/coffee/component-viewer/header/duplications-header.coffee4
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-server/src/main/coffee/component-viewer/header/duplications-header.coffee b/sonar-server/src/main/coffee/component-viewer/header/duplications-header.coffee
index 94d72056bf7..8722adf27d8 100644
--- a/sonar-server/src/main/coffee/component-viewer/header/duplications-header.coffee
+++ b/sonar-server/src/main/coffee/component-viewer/header/duplications-header.coffee
@@ -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'