aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/coffee/quality-gate
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-04-22 18:08:45 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-04-22 18:08:54 +0600
commit1315fe1d47399c821a12d647e4c62b1fd54113fc (patch)
tree610ff11e6de749825ebe93ea6c338bc5b69c36a3 /sonar-server/src/main/coffee/quality-gate
parent617bd05a326531e8d64faa8ba0bf54fbe0bce421 (diff)
downloadsonarqube-1315fe1d47399c821a12d647e4c62b1fd54113fc.tar.gz
sonarqube-1315fe1d47399c821a12d647e4c62b1fd54113fc.zip
Component Viewer: ui improvements
Diffstat (limited to 'sonar-server/src/main/coffee/quality-gate')
-rw-r--r--sonar-server/src/main/coffee/quality-gate/layout.coffee2
-rw-r--r--sonar-server/src/main/coffee/quality-gate/router.coffee2
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/coffee/quality-gate/layout.coffee b/sonar-server/src/main/coffee/quality-gate/layout.coffee
index 0b5941655d5..0edc32c223e 100644
--- a/sonar-server/src/main/coffee/quality-gate/layout.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/layout.coffee
@@ -25,7 +25,7 @@ define [
updateLayout: ->
empty = @options.app.qualityGates.length == 0
- @$(@headerRegion.el).toggle !empty
+ @$(@workspaceRegion.el).toggle !empty
@$(@detailsRegion.el).toggle !empty
diff --git a/sonar-server/src/main/coffee/quality-gate/router.coffee b/sonar-server/src/main/coffee/quality-gate/router.coffee
index f21161a97bf..834da1bf9ca 100644
--- a/sonar-server/src/main/coffee/quality-gate/router.coffee
+++ b/sonar-server/src/main/coffee/quality-gate/router.coffee
@@ -28,7 +28,7 @@ define [
qualityGateDetailHeaderView = new QualityGateDetailHeaderView
app: @app
model: qualityGate
- @app.layout.headerRegion.show qualityGateDetailHeaderView
+ @app.layout.workspaceRegion.show qualityGateDetailHeaderView
qualityGateDetailView = new QualityGateDetailView
app: @app