aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-06-27 16:40:25 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-06-27 16:40:25 +0600
commit5c51814a9b311613cb265b1b9c0e7644b35dc59e (patch)
treed82da17381b16ad5276798f7e48bb5127eb895d5
parent8dde465290c9f6326d53bc6de2174e57e806d7a7 (diff)
downloadsonarqube-5c51814a9b311613cb265b1b9c0e7644b35dc59e.tar.gz
sonarqube-5c51814a9b311613cb265b1b9c0e7644b35dc59e.zip
SONAR-5209 Fix tests tab
-rw-r--r--sonar-server/src/main/coffee/component-viewer/header.coffee1
-rw-r--r--sonar-server/src/main/coffee/drilldown/conf.coffee3
2 files changed, 3 insertions, 1 deletions
diff --git a/sonar-server/src/main/coffee/component-viewer/header.coffee b/sonar-server/src/main/coffee/component-viewer/header.coffee
index d73178506e5..b98d8a31bda 100644
--- a/sonar-server/src/main/coffee/component-viewer/header.coffee
+++ b/sonar-server/src/main/coffee/component-viewer/header.coffee
@@ -152,6 +152,7 @@ define [
bar = _.findWhere BARS, scope: scope
@barRegion.show new bar.view
main: @options.main, state: @state, component: @component, settings: @settings, source: @model, header: @
+ @ui.expandedBar.addClass 'active'
@ui.expandLinks.filter("[data-scope=#{scope}]").addClass 'active'
activeHeaderItem = @state.get 'activeHeaderItem'
if activeHeaderItem
diff --git a/sonar-server/src/main/coffee/drilldown/conf.coffee b/sonar-server/src/main/coffee/drilldown/conf.coffee
index ffe6c787736..07034479f5e 100644
--- a/sonar-server/src/main/coffee/drilldown/conf.coffee
+++ b/sonar-server/src/main/coffee/drilldown/conf.coffee
@@ -80,8 +80,9 @@ define
# Tests
+ 'tests': { tab: 'tests', item: null }
'test_success_density': { tab: 'tests', item: null }
'skipped_tests': { tab: 'tests', item: null }
'test_failures': { tab: 'tests', item: null }
'test_errors': { tab: 'tests', item: null }
- 'test_execution_time': { tab: 'tests', item: null } \ No newline at end of file
+ 'test_execution_time': { tab: 'tests', item: null }