aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-11-10 14:32:01 +0100
committerFabrice Bellingard <bellingard@gmail.com>2011-11-10 14:34:50 +0100
commitbfd65b9192884e560f50c62fe8e852034b8e2990 (patch)
tree878762f4b52c53a3b81df5cf853c64ca3aacdd34 /sonar-server
parentf8a2f6f439d9551bb3dbbba29b1a2207d1429200 (diff)
downloadsonarqube-bfd65b9192884e560f50c62fe8e852034b8e2990.tar.gz
sonarqube-bfd65b9192884e560f50c62fe8e852034b8e2990.zip
SONAR-2902 Open the resource viewer on the right tab
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
index de128aa09bb..5a3533d631b 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
@@ -336,7 +336,7 @@ module ApplicationHelper
if options[:line]
anchor= 'L' + options[:line].to_s
end
- link_to(name || resource.name, {:controller => 'resource', :action => 'index', :anchor => anchor, :id => resource.id, :period => period_index, :tab => options[:tab], :rule => options[:rule]}, :popup => ['resource', 'height=800,width=900,scrollbars=1,resizable=1'], :title => options[:title])
+ link_to(name || resource.name, {:controller => 'resource', :action => 'index', :anchor => anchor, :id => resource.id, :period => period_index, :tab => options[:tab], :rule => options[:rule], :metric => options[:metric]}, :popup => ['resource', 'height=800,width=900,scrollbars=1,resizable=1'], :title => options[:title])
end
end