]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5209 Fix bug with tests header
authorStas Vilchik <vilchiks@gmail.com>
Fri, 18 Jul 2014 04:01:32 +0000 (10:01 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 18 Jul 2014 06:52:57 +0000 (12:52 +0600)
sonar-server/src/main/coffee/component-viewer/coverage-popup.coffee

index 174fdb2dce80018baaa6c6e1963ad4511d62ee0c..bc9bf899ed699d9ef081a3c6c5606b6cd6c63637 100644 (file)
@@ -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