]> source.dussan.org Git - sonarqube.git/commitdiff
Fix rendering of cloud in IE
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 21 Jun 2011 16:07:45 +0000 (18:07 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 21 Jun 2011 16:13:16 +0000 (18:13 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/cloud/index.html.erb

index 2201de2c81b818dc708e61256b7fe8784465ccde..49eace59e0e5ed94017b9681516afca61d55e796 100644 (file)
@@ -17,6 +17,7 @@
   }
 </script>
 
+<div>
 <form id="cloudform" action="<%= ApplicationController.root_context -%>/cloud/index/<%= @project.id -%>" method="GET">
   <ul class="headerLine">
     <li class="first">
       </select>
     </li>
     <li>
-      <input type="radio" name="size" value="ncloc" <%= 'checked' if @size_metric.key=='ncloc' -%> onchange="document.forms['cloudform'].submit()">
-      Quick wins</option>
+      <input type="radio" name="size" value="ncloc" <%= 'checked' if @size_metric.key=='ncloc' -%> onclick="document.forms['cloudform'].submit()" id="radio-quick">
+      <label for="radio-quick">Quick wins</label></option>
       &nbsp;
-      <input type="radio" name="size" value="function_complexity" <%= 'checked' if @size_metric.key=='function_complexity' -%> onchange="document.forms['cloudform'].submit()">
-      Top risk</input>
+      <input type="radio" name="size" value="function_complexity" <%= 'checked' if @size_metric.key=='function_complexity' -%> onclick="document.forms['cloudform'].submit()" id="radio-top">
+      <label for="radio-top">Top risk</label></input>
     </li>
   </ul>
 </form>
+</div>
 
 <div id="cloud">
   <%