summaryrefslogtreecommitdiffstats
path: root/app/views/issue_relations/create.js.erb
blob: 1572a910e9ad304a9c338882919f39d8a91443c0 (plain)
1
2
3
4
5
6
7
$('#relations').html('<%= escape_javascript(render :partial => 'issues/relations') %>');
<% if @relation.errors.empty? %>
  $('#relation_delay').val('');
  $('#relation_issue_to_id').val('');
<% end %>
$('#new-relation-form').show();
$('#relation_issue_to_id').focus();