idn_app/app/views/admin/articles/update.js.erb
Nicolas Bally b5690bc6f2 initial
2016-07-25 15:55:11 +02: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();