From ad032a40dea6356a0701664ae99ab089ae95e729 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 18 Jul 2014 10:01:32 +0600 Subject: SONAR-5209 Fix bug with tests header --- server/sonar-web/src/main/coffee/component-viewer/coverage-popup.coffee | 1 + 1 file changed, 1 insertion(+) (limited to 'server/sonar-web') diff --git a/server/sonar-web/src/main/coffee/component-viewer/coverage-popup.coffee b/server/sonar-web/src/main/coffee/component-viewer/coverage-popup.coffee index 174fdb2dce8..bc9bf899ed6 100644 --- a/server/sonar-web/src/main/coffee/component-viewer/coverage-popup.coffee +++ b/server/sonar-web/src/main/coffee/component-viewer/coverage-popup.coffee @@ -36,6 +36,7 @@ define [ @options.main.state.unset 'activeHeaderItem' @options.main._open key @options.main.on 'loaded', => + @options.main.off 'loaded' @options.main.headerView.enableBar('tests').done => if method? @options.main.headerView.enableUnitTest method -- cgit v1.2.3