socialforge/app/views/versions/create.js.erb

4 lines
290 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
hideModal();
<% select = 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]') %>
$('#issue_fixed_version_id').replaceWith('<%= escape_javascript(select) %>');