修改删除组织成员跨域的BUG
This commit is contained in:
parent
5c2ac3e02f
commit
dd397a060b
|
@ -1504,4 +1504,18 @@ function edit_file_description(url,id){
|
|||
}
|
||||
);
|
||||
}
|
||||
//删除组织成员
|
||||
function ifDeleteOrgMember(id,name){
|
||||
var htmlvalue = "</br><div style='width:550px;text-align:center'>您确定要删除"+name+"吗?</div></br><div style='width:164px; margin:0 auto; text-align:center'><a href='javascript:void(0);' class='Blue-btn fl' onclick='deleteOrgMember("+id+")'>确定</a><a href='javascript:void(0);' class='Blue-btn fl' onclick='hideModal()'>取消</a></div>" +
|
||||
"<script>function deleteOrgMember(id){" +
|
||||
"$.ajax({\n\
|
||||
url: '/org_member/deleteOrgMember',\n\
|
||||
type: 'get',\n\
|
||||
dataType: 'jsonp',\n\
|
||||
data: {id:id},\n\
|
||||
success: function(data){},\n\
|
||||
});\n\
|
||||
hideModal();}</script>";
|
||||
pop_up_box(htmlvalue,580,30,50);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue