parent
fc7e41ebf9
commit
b231b44e81
|
@ -1,3 +1,7 @@
|
|||
if($("#join_orgs_for_course input:checked").size() > 0)
|
||||
{
|
||||
alert("翻页或搜索后将丢失当前选择的用户数据");
|
||||
}
|
||||
$("#search_orgs_result_list").html("");
|
||||
$("#search_orgs_result_list").append('<ul class="ml20">');
|
||||
<% @orgs_not_in_course.each do |org|%>
|
||||
|
|
|
@ -1289,6 +1289,7 @@ function course_outline(id){
|
|||
|
||||
//取消课程组织关联
|
||||
function cancel_org_course_relation(id, courseId){
|
||||
if(confirm("确定取消关联吗?") == false) return;
|
||||
$.ajax({
|
||||
url:"/org_courses/" + id + "?course_id=" + courseId,
|
||||
type: "delete",
|
||||
|
|
|
@ -530,6 +530,7 @@ function zip(){
|
|||
|
||||
//取消关联
|
||||
function cancel_relation(orgId,projectId){
|
||||
if(confirm("确定取消关联吗?") == false) return;
|
||||
$.ajax({
|
||||
url:'/org_projects/'+orgId+"?project_id="+projectId,
|
||||
type:'DELETE',
|
||||
|
|
Loading…
Reference in New Issue