]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7561 Increase width of version select on Comparison page
authorStas Vilchik <vilchiks@gmail.com>
Fri, 22 Apr 2016 08:45:00 +0000 (10:45 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 22 Apr 2016 08:45:00 +0000 (10:45 +0200)
server/sonar-web/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb

index 67618e7b4cbd88db6a0d066a1c6bfadc4b5e0047..da6e94ccba4751d3f58dbc700d0cf485ff4c5d6b 100644 (file)
                       + $j('#sids').val(),
                     success:function (data) {
                       $j('#new_version').html(data);
-                      $j('#new_version').select2({placeholder:'<%= message('comparison.select_version') -%>'});
+                      $j('#new_version').select2({
+                        width: '250px',
+                        placeholder:'<%= message('comparison.select_version') -%>'
+                      });
                       $j('#version_loading').hide();
                       $j('#version_div').show();
                       $j('#version_div').css("display", "inline-block");