orbit-basic/app/views/admin/users_new_interface/destroy.js.erb

9 lines
240 B
Plaintext
Raw Permalink Normal View History

$("#<%= dom_id @user %>").remove();
<% if !@not_approved_count.nil? %>
<% if @not_approved_count > 0 %>
$("#registration_count").text("(<%= @not_approved_count %>)");
<% else %>
$("#registration_count").remove();
<% end %>
<% end %>