2012-07-22 17:29:26 +04:00
|
|
|
$('#relations').html('<%= escape_javascript(render :partial => 'issues/relations') %>');
|
2012-07-19 21:06:30 +04:00
|
|
|
<% if @relation.errors.empty? %>
|
2012-07-22 17:29:26 +04:00
|
|
|
$('#relation_delay').val('');
|
|
|
|
$('#relation_issue_to_id').val('');
|
|
|
|
$('#relation_issue_to_id').focus();
|
2012-07-19 21:06:30 +04:00
|
|
|
<% end %>
|
2013-03-12 22:35:59 +04:00
|
|
|
$('#new-relation-form').show();
|