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

5 lines
162 B
Plaintext

<% @mail_cron_logs.collect do |mail_cron_log| %>
$("#<%= dom_id mail_cron_log %>").remove();
<% end %>
<% MailCronLog.any_in(:_id => params[:ids]).destroy_all %>