1 <% self.formats = [:html] %>
2 var new_content = "<%= escape_javascript(render template: 'pipeline_instances/show') %>";
3 if ($('div.body-content').html() != new_content)
4 $('div.body-content').html(new_content);
5 $(document).trigger('ajax:complete');