diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-05 15:38:31 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-05 15:38:31 +0000 |
commit | 0cb4405a468c7857ffe9fddb8c6dde19f1ba71ea (patch) | |
tree | 2c83620c70759cf782f5920899c71ae8bc084c0a /sonar-server/src/main/webapp/WEB-INF/app/models | |
parent | bafd7f5f808963f0489c30cecba53c8a3f1bf549 (diff) | |
download | sonarqube-0cb4405a468c7857ffe9fddb8c6dde19f1ba71ea.tar.gz sonarqube-0cb4405a468c7857ffe9fddb8c6dde19f1ba71ea.zip |
fix IT
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF/app/models')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/models/sonar/treemap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/treemap.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/treemap.rb index 16008f4a865..3892d709a6d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/treemap.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/treemap.rb @@ -69,7 +69,7 @@ class Sonar::Treemap def get_url(snapshot,color_measure) if snapshot.display_dashboard? - "document.location='#{ApplicationController.root_context}/dashboard/index?resource=#{snapshot.project.copy_resource_id || snapshot.project_id}'" + "document.location='#{ApplicationController.root_context}/dashboard/index/#{snapshot.project.copy_resource_id || snapshot.project_id}'" else "window.open('#{ApplicationController.root_context}/resource/index/#{snapshot.project_id}?viewer_metric_key=#{@color_metric.key}','resource','height=800,width=900,scrollbars=1,resizable=1');return false;" end |