mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
게시판 관리자가 분류를 추가/삭제/이동/수정 하지 못하는 권한 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6015 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d5d2220df4
commit
658bafbd46
10 changed files with 270 additions and 246 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<filter name="delete_category" module="document" act="procDocumentAdminDeleteCategory" confirm_msg_code="confirm_delete">
|
||||
<filter name="delete_category" module="document" act="procDocumentDeleteCategory" confirm_msg_code="confirm_delete">
|
||||
<form>
|
||||
<node target="category_srl" required="true" />
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<filter name="insert_category" module="document" act="procDocumentAdminInsertCategory" confirm_msg_code="confirm_submit">
|
||||
<filter name="insert_category" module="document" act="procDocumentInsertCategory" confirm_msg_code="confirm_submit">
|
||||
<form>
|
||||
<node target="module_srl" required="true" />
|
||||
<node target="category_srl" required="true" />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<filter name="move_category" module="document" act="procDocumentAdminMoveCategory" confirm_msg_code="confirm_move">
|
||||
<filter name="move_category" module="document" act="procDocumentMoveCategory" confirm_msg_code="confirm_move">
|
||||
<form />
|
||||
<parameter />
|
||||
<response callback_func="completeMoveCategory">
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ function moveVar(type, module_srl, var_idx) {
|
|||
params['module_srl'] = module_srl;
|
||||
params['var_idx'] = var_idx;
|
||||
var response_tags = new Array('error','message');
|
||||
exec_xml('document','procAdminMoveExtraVar', params, function() { location.reload(); });
|
||||
exec_xml('document','procDocumentAdminMoveExtraVar', params, function() { location.reload(); });
|
||||
}
|
||||
|
||||
function completeRestoreTrash(ret_obj) {
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ function Tree(url){
|
|||
parent_srl = 0;
|
||||
}
|
||||
|
||||
jQuery.exec_json("board.procDocumentAdminMoveCategory",{ "module_srl":module_srl,"parent_srl":parent_srl,"target_srl":target_srl,"source_srl":source_srl},
|
||||
jQuery.exec_json("board.procDocumentMoveCategory",{ "module_srl":module_srl,"parent_srl":parent_srl,"target_srl":target_srl,"source_srl":source_srl},
|
||||
function(data){
|
||||
jQuery('#category_info').html('');
|
||||
if(data.error > 0) Tree(xml_url);
|
||||
|
|
@ -126,7 +126,7 @@ function addNode(node,e){
|
|||
,"module_srl":jQuery("#fo_category [name=module_srl]").val()
|
||||
};
|
||||
|
||||
jQuery.exec_json('document.getDocumentAdminCategoryTplInfo', params, function(data){
|
||||
jQuery.exec_json('document.getDocumentCategoryTplInfo', params, function(data){
|
||||
jQuery('#category_info').html(data.tpl).css('left',e.pageX).css('top',e.pageY);
|
||||
});
|
||||
}
|
||||
|
|
@ -138,7 +138,7 @@ function modifyNode(node,e){
|
|||
,"module_srl":jQuery("#fo_category [name=module_srl]").val()
|
||||
};
|
||||
|
||||
jQuery.exec_json('document.getDocumentAdminCategoryTplInfo', params, function(data){
|
||||
jQuery.exec_json('document.getDocumentCategoryTplInfo', params, function(data){
|
||||
jQuery('#category_info').html(data.tpl).css('left',e.pageX).css('top',e.pageY);
|
||||
});
|
||||
}
|
||||
|
|
@ -159,7 +159,7 @@ function deleteNode(node){
|
|||
,"module_srl":jQuery("#fo_category [name=module_srl]").val()
|
||||
};
|
||||
|
||||
jQuery.exec_json('document.procDocumentAdminDeleteCategory', params, function(data){
|
||||
jQuery.exec_json('document.procDocumentDeleteCategory', params, function(data){
|
||||
if(data.error==0) Tree(xml_url);
|
||||
});
|
||||
}
|
||||
|
|
@ -182,7 +182,7 @@ function doReloadTreeCategory(module_srl) {
|
|||
|
||||
// 서버에 요청하여 해당 노드의 정보를 수정할 수 있도록 한다.
|
||||
var response_tags = new Array('error','message', 'xml_file');
|
||||
exec_xml('document', 'procDocumentAdminMakeXmlFile', params, completeInsertCategory, response_tags, params);
|
||||
exec_xml('document', 'procDocumentMakeXmlFile', params, completeInsertCategory, response_tags, params);
|
||||
}
|
||||
|
||||
function doCategoryFormMove() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue