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

3 lines
104 B
Text
Raw Normal View History

$('#article_#{@article.id}').replaceWith('#{escape_javascript(render(@article))}');
$.fancybox.close();