From 7d3cceb987e8054628ea7534f64bc97484f6f353 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 20 Jun 2014 16:36:32 +0600 Subject: [PATCH] SONAR-5209 Some fixes --- sonar-server/src/main/coffee/component-viewer/app.coffee | 1 + sonar-server/src/main/coffee/drilldown/app.coffee | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sonar-server/src/main/coffee/component-viewer/app.coffee b/sonar-server/src/main/coffee/component-viewer/app.coffee index eefb05a0836..aab3912ddc1 100644 --- a/sonar-server/src/main/coffee/component-viewer/app.coffee +++ b/sonar-server/src/main/coffee/component-viewer/app.coffee @@ -79,6 +79,7 @@ requirejs [ else if params.tab? viewer.state.set activeHeaderTab: params.tab viewer.headerView.render() + viewer.showAllLines() else if params.currentIssue? loadIssue params.currentIssue else viewer.showAllLines() diff --git a/sonar-server/src/main/coffee/drilldown/app.coffee b/sonar-server/src/main/coffee/drilldown/app.coffee index f7704f39cc8..7cc6ba303a6 100644 --- a/sonar-server/src/main/coffee/drilldown/app.coffee +++ b/sonar-server/src/main/coffee/drilldown/app.coffee @@ -72,9 +72,10 @@ requirejs [ f = -> if drilldown.period? viewer.enablePeriod drilldown.period, activeHeaderItem - else + else if activeHeaderItem? viewer.state.set activeHeaderTab: activeHeaderTab, activeHeaderItem: activeHeaderItem viewer.render() + else viewer.showAllLines() viewer.open(key).done -> if activeHeaderTab? -- 2.39.5