aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
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 10:01:32 +0600
commitad032a40dea6356a0701664ae99ab089ae95e729 (patch)
tree264424f962077d97d465565504270dff94696504 /server/sonar-web
parent6397e5b8edb9d46f7caefb7dcd0cd4994f135871 (diff)
downloadsonarqube-ad032a40dea6356a0701664ae99ab089ae95e729.tar.gz
sonarqube-ad032a40dea6356a0701664ae99ab089ae95e729.zip
SONAR-5209 Fix bug with tests header
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/coffee/component-viewer/coverage-popup.coffee1
1 files changed, 1 insertions, 0 deletions
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