aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
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:12:19 +0600
commit1a895d262c3db20d164de4bb6b2e08be4e65c24d (patch)
tree459c01468ef304f9b3faf6623c6258eb4821cce2 /server/sonar-web
parentdd181b05b0434264b3bcf3bd0bf5064fd261b820 (diff)
downloadsonarqube-1a895d262c3db20d164de4bb6b2e08be4e65c24d.tar.gz
sonarqube-1a895d262c3db20d164de4bb6b2e08be4e65c24d.zip
Fix component viewer permalink with duplications filter enabled
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee b/server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee
index 94d72056bf7..8722adf27d8 100644
--- a/server/sonar-web/src/main/coffee/component-viewer/header/duplications-header.coffee
+++ b/server/sonar-web/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'