编辑课程成员后,更新老师数量和学生数量
This commit is contained in:
parent
66b8524a41
commit
d57e01f17e
|
@ -2,6 +2,8 @@
|
||||||
$('#pro_st_tbc_03').html('<%= escape_javascript(render :partial => 'projects/settings/new_members') %>');
|
$('#pro_st_tbc_03').html('<%= escape_javascript(render :partial => 'projects/settings/new_members') %>');
|
||||||
<%elsif @course%>
|
<%elsif @course%>
|
||||||
$('#course_members_setting').html('<%= escape_javascript(render :partial => 'courses/course_members') %>');
|
$('#course_members_setting').html('<%= escape_javascript(render :partial => 'courses/course_members') %>');
|
||||||
|
$("#teacher_number").html("<%= searchTeacherAndAssistant(@course).count %>")
|
||||||
|
$("#student_number").html("<%= studentCount(@course) %>");
|
||||||
<%end%>
|
<%end%>
|
||||||
hideOnLoad();
|
hideOnLoad();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue