##// END OF EJS Templates
Use content_tag for empty option....
Jean-Philippe Lang -
r8873:61b14f6391af
parent child
Show More
@@ -108,7 +108,7 class VersionsController < ApplicationController
108 page << 'hideModal();'
108 page << 'hideModal();'
109 # IE doesn't support the replace_html rjs method for select box options
109 # IE doesn't support the replace_html rjs method for select box options
110 page.replace "issue_fixed_version_id",
110 page.replace "issue_fixed_version_id",
111 content_tag('select', '<option></option>' + version_options_for_select(@project.shared_versions.open, @version), :id => 'issue_fixed_version_id', :name => 'issue[fixed_version_id]')
111 content_tag('select', content_tag('option') + version_options_for_select(@project.shared_versions.open, @version), :id => 'issue_fixed_version_id', :name => 'issue[fixed_version_id]')
112 }
112 }
113 end
113 end
114 format.api do
114 format.api do
General Comments 0
You need to be logged in to leave comments. Login now