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

5 lines
147 B
Plaintext
Raw Normal View History

2014-02-19 03:26:02 +00:00
<% @mail_crons.collect do |mail_cron| %>
$("#<%= dom_id mail_cron %>").remove();
<% end %>
<% MailCron.any_in(:_id => params[:ids]).destroy_all %>