orbit-4-2/app/views/admin/mail_cron_logs/delete.js.erb

5 lines
162 B
Plaintext
Raw Permalink Normal View History

2014-03-07 07:15:52 +00:00
<% @mail_cron_logs.collect do |mail_cron_log| %>
$("#<%= dom_id mail_cron_log %>").remove();
<% end %>
<% MailCronLog.any_in(:_id => params[:ids]).destroy_all %>