##// END OF EJS Templates
cleanup syntax of Relation#all at QueriesController#index...
cleanup syntax of Relation#all at QueriesController#index git-svn-id: http://svn.redmine.org/redmine/trunk@12602 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9885:6a2ca5e03427
r12327:c57490f48e0e
Show More
create.js.erb
3 lines | 297 B | text/plain | TextLexer
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) %>');