summaryrefslogtreecommitdiffstats
path: root/app/views/issue_categories/create.js.erb
blob: b9cc577aac52cbb0e9bed7b4b4ca4606df0b2f89 (plain)
1
2
3
hideModal();
<% select = content_tag('select', content_tag('option') + options_from_collection_for_select(@project.issue_categories, 'id', 'name', @category.id), :id => 'issue_category_id', :name => 'issue[category_id]') %>
Element.replace('issue_category_id', '<%= escape_javascript(select) %>');