2015-11-13 10:14:38 +08:00
|
|
|
<% if @fail_hint %>
|
|
|
|
alert("<%= @fail_hint %>");
|
|
|
|
<% else %>
|
2016-09-02 13:25:01 +08:00
|
|
|
// 组织添加成员后,同步刷新成员列表,左侧成员数
|
|
|
|
$("#org_member_list").html('<%= escape_javascript( render :partial => "organizations/org_member_list", :locals => {:members => @members}) %>');
|
2015-11-13 10:14:38 +08:00
|
|
|
$("#principals_for_new_member").html('');
|
2016-09-02 13:25:01 +08:00
|
|
|
$("#org_members_count_id").html("<%= @organization.org_members.count %>");
|
2015-11-23 10:17:20 +08:00
|
|
|
$("#not_org_member_search").val("");
|
2015-11-13 10:14:38 +08:00
|
|
|
<% end %>
|