foodsoft/app/views/articles/update.js.haml

3 lines
120 B
Text
Raw Permalink Normal View History

$('#article_#{@article.id}').replaceWith('#{escape_javascript(render(@article))}');
$('#modalContainer').modal('hide');