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

5 lines
156 B
Text
Raw Permalink Normal View History

- if @order
$('#article_#{@article.id}').after('#{escape_javascript(render("destroy_active_article"))}');
- else
$('#article_#{@article.id}').remove();