diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2013-12-04 17:19:28 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2013-12-04 17:19:28 +0600 |
commit | 5fc03f6eb01978a496002042cdb592ffaef56296 (patch) | |
tree | 01b451d8d140771e83bad192d0de95c239fe19da /sonar-server | |
parent | a8aedf67636d3ca31d0b81130fe78623db0d4b79 (diff) | |
download | sonarqube-5fc03f6eb01978a496002042cdb592ffaef56296.tar.gz sonarqube-5fc03f6eb01978a496002042cdb592ffaef56296.zip |
SONAR-4871 The combo box in the Measure Drilldown page should be done with Select2
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb | 5 |
1 files changed, 5 insertions, 0 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 87aa4f89dab..ef9e6c98f51 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 @@ -14,6 +14,11 @@ <%= period_select_options(@snapshot, period_index) if @drilldown.display_period?(period_index) -%> <% end %> </select> + <script> + $j(function() { + $j('#select-comparison').select2({ width: '200px' }); + }); + </script> </form> </h4> </div> |