issue 44 : Remove x-functions from the member module, the module module and the spamfilter module.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8502 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-06-16 08:32:36 +00:00
parent 4091023741
commit a64ab93dc1
6 changed files with 73 additions and 82 deletions

View file

@ -8,7 +8,7 @@
function doUpdateCategory(module_category_srl, mode, message) {
if(typeof(message)!='undefined'&&!confirm(message)) return;
var fo_obj = xGetElementById('fo_category_info');
var fo_obj = get_by_id('fo_category_info');
fo_obj.module_category_srl.value = module_category_srl;
fo_obj.mode.value = mode;
@ -27,7 +27,7 @@ function completeUpdateCategory(ret_obj) {
/* 선택된 모듈을 관리자 메뉴의 바로가기에 등록 */
function doAddShortCut(module) {
var fo_obj = xGetElementById("fo_shortcut");
var fo_obj = get_by_id("fo_shortcut");
fo_obj.selected_module.value = module;
procFilter(fo_obj, insert_shortcut);
}
@ -89,7 +89,7 @@ function completeInsertGrant(ret_obj) {
/* 관리자 아이디 등록/ 제거 */
function doInsertAdmin() {
var fo_obj = xGetElementById("fo_obj");
var fo_obj = get_by_id("fo_obj");
var sel_obj = fo_obj._admin_member;
var admin_id = fo_obj.admin_id.value;
if(!admin_id) return;
@ -112,7 +112,7 @@ function doInsertAdmin() {
}
function doDeleteAdmin() {
var fo_obj = xGetElementById("fo_obj");
var fo_obj = get_by_id("fo_obj");
var sel_obj = fo_obj._admin_member;
sel_obj.remove(sel_obj.selectedIndex);
@ -137,10 +137,10 @@ function completeModuleSetup(ret_obj) {
* 언어 관련
**/
function doInsertLangCode(name) {
var fo_obj = xGetElementById("menu_fo");
var fo_obj = get_by_id("menu_fo");
var target = fo_obj.target.value;
if(window.opener && target) {
var obj = window.opener.xGetElementById(target);
var obj = window.opener.get_by_id(target);
if(obj) obj.value = '$user_lang->'+name;
}
window.close();