mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 15:19:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@64 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5bb12751f3
commit
de0318dda0
27 changed files with 0 additions and 0 deletions
39
modules/board/tpl/default/js/admin.js
Normal file
39
modules/board/tpl/default/js/admin.js
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/**
|
||||
* @file : modules/board/js/admin.js
|
||||
* @author : zero <zero@nzeo.com>
|
||||
* @desc : board 모듈의 관리자용 javascript
|
||||
**/
|
||||
|
||||
/* 모듈 생성 후 */
|
||||
function procInsertModule(ret_obj, response_tags) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
var sid = ret_obj['sid'];
|
||||
var act = ret_obj['act'];
|
||||
var page = ret_obj['page'];
|
||||
var module_srl = ret_obj['module_srl'];
|
||||
alert(message);
|
||||
|
||||
url = "./admin.php?sid="+sid+"&module_srl="+module_srl+"&page="+page+"&act="+act;
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 카테고리 관련 작업들 */
|
||||
function doUpdateCategory(category_srl, mode, message) {
|
||||
if(typeof(message)!='undefined'&&!confirm(message)) return;
|
||||
|
||||
var fo_obj = xGetElementById('fo_module_category_info');
|
||||
fo_obj.category_srl.value = category_srl;
|
||||
fo_obj.mode.value = mode;
|
||||
|
||||
procFormFilter(fo_obj, update_category_info, procReload);
|
||||
}
|
||||
|
||||
/* 메세지 출력후 현페이지 리로드 */
|
||||
function procReload(ret_obj, response_tags) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
if(message) alert(message);
|
||||
|
||||
location.href = location.href;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue