This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/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 %>