mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@124 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
756ecc1423
commit
fb0ad9dd4b
23 changed files with 161 additions and 198 deletions
|
|
@ -1,39 +0,0 @@
|
|||
/**
|
||||
* @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