intra_app/app/views/admin/articles/update.js.erb
Nicolas Bally 761e075bb6 initial
2018-11-08 21:47:30 +01:00

9 lines
285 B
Plaintext

$('#article_row_<%= @article.id %>').replaceWith("<%= escape_javascript(render(@article))%>");
$('#article_show').replaceWith("<%= escape_javascript(render(:partial => "show"))%>");
$('#tags').replaceWith("<%= escape_javascript(render(:partial => 'tags'))%>");
close_pane_hover();