diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-06-24 09:41:28 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-06-24 09:41:28 +0200 |
commit | f9061b9ae4ded1b94024375efab2a38ac582c64c (patch) | |
tree | 42f7a72091a9a34412d10497e357036749b5dfff | |
parent | 08257f901822eba9bc060ea3b9b391f314d13218 (diff) | |
download | sonarqube-f9061b9ae4ded1b94024375efab2a38ac582c64c.tar.gz sonarqube-f9061b9ae4ded1b94024375efab2a38ac582c64c.zip |
SONAR-4425 JS warning on IE8 when opening file popup
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb index f1ba5bc0a8c..f5f81a21fe3 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb @@ -3,7 +3,9 @@ <div id="accordion-panel"/> -<script type="text/javascript"> - // Always display title in popup mode - openAccordionItem('<%= url_for(params.merge({:display_title => 'true', :popup => 'true'})) -%>', this); +<script> + $j(document).ready(function() { + // Always display title in popup mode + openAccordionItem('<%= url_for(params.merge({:display_title => 'true', :popup => 'true'})) -%>', this); + }); </script>
\ No newline at end of file |