view app/views/issue_categories/create.js.erb @ 1140:59fd55892a7b redmine-2.2-integration

Restore rendering of members list
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 10 Jan 2013 15:23:35 +0000
parents 433d4f72a19b
children
line wrap: on
line source
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]') %>
$('#issue_category_id').replaceWith('<%= escape_javascript(select) %>');