diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-04-23 12:54:48 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-04-23 12:54:58 +0600 |
commit | 2353f07b5fbd1bf3e3ba6a03f57deaec30f2e6ee (patch) | |
tree | f61ce261d2538fb7b8be69387e85ab922e60a697 | |
parent | 00133f3d0675f5de520ee33eb04bcd6797d0ae61 (diff) | |
download | sonarqube-2353f07b5fbd1bf3e3ba6a03f57deaec30f2e6ee.tar.gz sonarqube-2353f07b5fbd1bf3e3ba6a03f57deaec30f2e6ee.zip |
Fix bad refactoring
4 files changed, 5 insertions, 5 deletions
diff --git a/sonar-server/src/main/coffee/coding-rules/app.coffee b/sonar-server/src/main/coffee/coding-rules/app.coffee index 149e9f44838..9d1393c46b2 100644 --- a/sonar-server/src/main/coffee/coding-rules/app.coffee +++ b/sonar-server/src/main/coffee/coding-rules/app.coffee @@ -180,7 +180,7 @@ requirejs [ # Construct header App.addInitializer -> @codingRulesHeaderView = new CodingRulesHeaderView app: @ - @layout.workspaceRegion.show @codingRulesHeaderView + @layout.headerRegion.show @codingRulesHeaderView # Define coding rules diff --git a/sonar-server/src/main/coffee/quality-gate/layout.coffee b/sonar-server/src/main/coffee/quality-gate/layout.coffee index 0edc32c223e..0b5941655d5 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 - @$(@workspaceRegion.el).toggle !empty + @$(@headerRegion.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 834da1bf9ca..f21161a97bf 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.workspaceRegion.show qualityGateDetailHeaderView + @app.layout.headerRegion.show qualityGateDetailHeaderView qualityGateDetailView = new QualityGateDetailView app: @app diff --git a/sonar-server/src/main/js/issues/app.js b/sonar-server/src/main/js/issues/app.js index 759312cec71..482f6a738c3 100644 --- a/sonar-server/src/main/js/issues/app.js +++ b/sonar-server/src/main/js/issues/app.js @@ -53,7 +53,7 @@ requirejs( NavigatorApp.addRegions({ - workspaceRegion: '.navigator-header', + headerRegion: '.navigator-header', filtersRegion: '.navigator-filters', resultsRegion: '.navigator-results', actionsRegion: '.navigator-actions', @@ -85,7 +85,7 @@ requirejs( app: this, model: this.favoriteFilter }); - this.workspaceRegion.show(this.issuesHeaderView); + this.headerRegion.show(this.issuesHeaderView); this.issuesView = new Extra.IssuesView({ app: this, |