mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 07:42:11 +09:00
신고된 게시글/댓글을 신고 취소 시키는 관리자 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3192 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7728d75d1f
commit
5cb4cf3d23
15 changed files with 80 additions and 2 deletions
|
|
@ -69,3 +69,21 @@ function completeGetCategoryFromModules(ret_obj, response_tags) {
|
|||
obj.options[obj.options.length] = opt;
|
||||
}
|
||||
}
|
||||
|
||||
function doCancelDeclare() {
|
||||
var fo_obj = xGetElementById('fo_list');
|
||||
var document_srl = new Array();
|
||||
for(var i=0;i<fo_obj.cart.length;i++) {
|
||||
if(fo_obj.cart[i].checked) document_srl[document_srl.length] = fo_obj.cart[i].value;
|
||||
}
|
||||
if(document_srl.length<1) return;
|
||||
|
||||
var params = new Array();
|
||||
params['document_srl'] = document_srl.join(',');
|
||||
|
||||
exec_xml('document','procDocumentAdminCancelDeclare', params, completeCancelDeclare);
|
||||
}
|
||||
|
||||
function completeCancelDeclare(ret_obj) {
|
||||
location.reload();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue