aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-07-18 10:01:32 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-07-18 12:52:57 +0600
commitc1fbac613ba6a2b8e12c285dcaac9128f4a249b2 (patch)
tree92d312e9382b646433ad9d73e4afbe4ff6dfddb8 /sonar-server
parentefea0ba8746f6927200fb67bd19d3f9c4e24f3dc (diff)
downloadsonarqube-c1fbac613ba6a2b8e12c285dcaac9128f4a249b2.tar.gz
sonarqube-c1fbac613ba6a2b8e12c285dcaac9128f4a249b2.zip
SONAR-5209 Fix bug with tests header
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/coffee/component-viewer/coverage-popup.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-server/src/main/coffee/component-viewer/coverage-popup.coffee b/sonar-server/src/main/coffee/component-viewer/coverage-popup.coffee
index 174fdb2dce8..bc9bf899ed6 100644
--- a/sonar-server/src/main/coffee/component-viewer/coverage-popup.coffee
+++ b/sonar-server/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