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

3 lines
104 B
Plaintext
Raw Normal View History

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