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

3 lines
120 B
Text
Raw Normal View History

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