socialforge/app/views/org_subfields/destroy.js.erb

6 lines
548 B
Plaintext
Raw Normal View History

2015-12-04 17:34:48 +08:00
$("#org_subfield_list").html("");
$("#org_subfield_list").html("<%= escape_javascript(render :partial => 'organizations/subfield_list',
:locals => {:subfields => @organization.org_subfields.order("priority") }) %>");
2015-12-04 17:34:48 +08:00
$("#sub_field_left_lists").html("");
2016-05-13 10:54:33 +08:00
$("#sub_field_left_lists").html("<%= escape_javascript(render :partial => 'organizations/org_left_subfield_list', :locals => {:organization => @organization}) %>");
$("#org_excellent_teachers").html("<%= escape_javascript(render :partial => 'organizations/setting_excellent_teachers') %>");