修改《加入分组后分组人数未改变》bug
Signed-off-by: alan <547533434@qq.com>
This commit is contained in:
parent
747fb84ef6
commit
63a9fcd483
|
@ -243,6 +243,7 @@ class CoursesController < ApplicationController
|
|||
member.save
|
||||
@group = group
|
||||
@members = searchStudent(@course)
|
||||
@course_groups = @course.course_groups
|
||||
@membercount = @members.count
|
||||
search_group_members group
|
||||
end
|
||||
|
@ -252,6 +253,7 @@ class CoursesController < ApplicationController
|
|||
member.course_group_id = 0
|
||||
member.save
|
||||
@group = group
|
||||
@course_groups = @course.course_groups
|
||||
@members = searchStudent(@course)
|
||||
@membercount = @members.count
|
||||
search_group_members group
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
|
||||
$("#st_groups").html("<%= escape_javascript( render :partial => 'groups_name', locals: {:course_groups => @course_groups})%>");
|
||||
$("#member_content").html("<%= escape_javascript( render :partial => @render_file, :locals => {:members => @results})%>");
|
|
@ -1,2 +1,2 @@
|
|||
|
||||
$("#st_groups").html("<%= escape_javascript( render :partial => 'groups_name', locals: {:course_groups => @course_groups})%>");
|
||||
$("#member_content").html("<%= escape_javascript( render :partial => @render_file, :locals => {:members => @results})%>");
|
Loading…
Reference in New Issue