diff --git a/app/views/members/destroy.js.erb b/app/views/members/destroy.js.erb index 9c3812673..9d3cde2a9 100644 --- a/app/views/members/destroy.js.erb +++ b/app/views/members/destroy.js.erb @@ -1,9 +1,8 @@ -hideModal(); <%if @project%> $('#pro_st_tbc_03').html('<%= escape_javascript(render :partial => 'projects/settings/new_members') %>'); $("#project_members_number").html("<%= @project.members.count %>"); -// $('#tab-content-members').html('<%#= escape_javascript(render :partial => 'projects/settings/members') %>'); <%elsif @course%> + hideModal(); $('#tbc_02').html('<%= escape_javascript(render :partial => 'courses/settings/member') %>'); $("#teacher_number").html("<%= searchTeacherAndAssistant(@course).count %>") $("#student_number").html("<%= studentCount(@course) %>");