From: Simon Brandhof Date: Thu, 20 Jun 2013 10:06:08 +0000 (+0200) Subject: Fix select2 components on IE8 X-Git-Tag: 3.6~5^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e4fa8ab2e7acfaa00de2f20d3654f919b779638d;p=sonarqube.git Fix select2 components on IE8 --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb index 9d7bd8d4991..b1957e6bb68 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb @@ -618,7 +618,7 @@ module ApplicationHelper js += "$j('##{html_id}').select2('open');" end - "#{html}" + "#{html}" end @@ -774,7 +774,7 @@ module ApplicationHelper :disabled => options[:disabled], :id => html_id) js = "$j('##{html_id}').select2({#{js_options.map { |k, v| "#{k}:#{v}" }.join(',')}});" - "#{html}" + "#{html}" end # @@ -810,7 +810,7 @@ module ApplicationHelper if options[:open] js += "$j('##{html_id}').select2('open');" end - "#{html}" + "#{html}" end #