2016-05-04 17:06:32 +08:00
|
|
|
<% if @res %>
|
2016-05-31 11:24:47 +08:00
|
|
|
$("#org_subfield_list").html("<%= escape_javascript(render :partial => 'organizations/subfield_list', :locals => {:subfields => subfield_to_addmin?(@organization)}) %>");
|
2016-05-04 17:06:32 +08:00
|
|
|
$("#sub_field_left_lists").html("");
|
|
|
|
$("#sub_field_left_lists").html("<%= escape_javascript(render :partial => 'organizations/org_left_subfield_list', :locals => {:organization => @organization}) %>");
|
|
|
|
<% end %>
|