diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2011-11-10 14:32:01 +0100 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2011-11-10 14:34:50 +0100 |
commit | bfd65b9192884e560f50c62fe8e852034b8e2990 (patch) | |
tree | 878762f4b52c53a3b81df5cf853c64ca3aacdd34 /sonar-server | |
parent | f8a2f6f439d9551bb3dbbba29b1a2207d1429200 (diff) | |
download | sonarqube-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.rb | 2 |
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 |