Redmine/app/views/issue_relations/create.js.erb

6 lines
211 B
Plaintext
Raw Normal View History

Element.update('relations', '<%= escape_javascript(render :partial => 'issues/relations') %>');
<% if @relation.errors.empty? %>
$('relation_delay').value = ''
$('relation_issue_to_id').value = ''
<% end %>