diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2013-12-09 14:29:46 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2013-12-09 14:29:53 +0600 |
commit | b46df68610a305e45b5a3688789adc513b0d5816 (patch) | |
tree | 46c83a84b3d61db95c05dd3764ab0a83b4bdc179 | |
parent | 16f22400073acae3ee9b9936835c88d25982a035 (diff) | |
download | sonarqube-b46df68610a305e45b5a3688789adc513b0d5816.tar.gz sonarqube-b46df68610a305e45b5a3688789adc513b0d5816.zip |
Fix measures drilldown period selectbox
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb index ef9e6c98f51..452b0671854 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb @@ -6,7 +6,7 @@ <form method="GET" action="<%= url_for :action => 'measures' -%>" style="display: inline"> <input type="hidden" name="metric" value="<%= params[:metric] -%>"/> - <select id="select-comparison" name="period" onchange="submit()" class="small"> + <select id="select-comparison" name="period" onchange="submit()"> <% if @drilldown.display_value? %> <option value=""><%= message('time_changes') -%>...</option> <% end %> @@ -16,7 +16,11 @@ </select> <script> $j(function() { - $j('#select-comparison').select2({ width: '200px' }); + $j('#select-comparison').select2({ + width: '300px', + minimumResultsForSearch: 10, + dropdownCssClass: 'small' + }); }); </script> </form> |