2016-01-14 15:59:50 +08:00
|
|
|
<% if @res %>
|
|
|
|
$("#org_subfield_list").html("");
|
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-01-14 15:59:50 +08:00
|
|
|
$("#sub_field_left_lists").html("");
|
|
|
|
$("#sub_field_left_lists").html("<%= escape_javascript(render :partial => 'organizations/org_left_subfield_list', :locals => {:organization => @organization}) %>");
|
2016-05-31 10:31:08 +08:00
|
|
|
$("#org_custom_admin").html("<%= escape_javascript(render :partial => 'organizations/org_custom_admin') %>");
|
2016-03-21 12:29:25 +08:00
|
|
|
<% end %>
|
|
|
|
$("#subfield_name").val("");
|
|
|
|
$("#sub_dir").val("");
|