Mercurial > hg > soundsoftware-site
annotate app/views/issue_categories/create.js.erb @ 1545:f81fcbde7eaf feature_1136
Merge
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 12 Jan 2016 15:14:36 +0000 |
parents | 433d4f72a19b |
children |
rev | line source |
---|---|
Chris@1115 | 1 hideModal(); |
Chris@1115 | 2 <% 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]') %> |
Chris@1115 | 3 $('#issue_category_id').replaceWith('<%= escape_javascript(select) %>'); |