1 2
$('#relation-<%= @relation.id %>').remove(); $(".issues-stat").replaceWith('<%= escape_javascript(render_relations_stats(@issue, @relations)) %>')