From 7059b993bb888ceb7866fa5b0ac926064c91bc18 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 18 Jul 2014 17:10:11 +0600 Subject: Fix component viewer permalink with duplications filter enabled --- .../main/coffee/component-viewer/header/duplications-header.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sonar-server') 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' -- cgit v1.2.3