##// END OF EJS Templates
Don't require category or target version when they are not available (#20583)....
Don't require category or target version when they are not available (#20583). git-svn-id: http://svn.redmine.org/redmine/trunk@14733 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9885:6a2ca5e03427
r14351:68620da79ab5
Show More
create.js.erb
3 lines | 297 B | text/plain | TextLexer
Jean-Philippe Lang
Start removing the RJS stuff....
r9860 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]') %>
Jean-Philippe Lang
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 $('#issue_category_id').replaceWith('<%= escape_javascript(select) %>');