블로그 카테고리/ 메뉴관리시 새창에서 수정하도록 변경

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2188 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-05 05:02:03 +00:00
parent 75fe99c37b
commit e72fde1ccb
11 changed files with 152 additions and 107 deletions

View file

@ -2,7 +2,10 @@
function completeInsertMenu(ret_obj) {
var menu_srl = ret_obj['menu_srl'];
alert(ret_obj['message']);
location.href = current_url.setQuery('act','dispMenuAdminManagement').setQuery('menu_srl',menu_srl);
location.href = current_url.setQuery('act','dispMenuAdminContent');
//var url = current_url.setQuery('act','dispMenuAdminManagement').setQuery('menu_srl',menu_srl);
//window.open(url);
}
/* 메뉴 삭제 */
@ -54,6 +57,7 @@ function doGetMenuItemInfo(menu_id, obj) {
}
/* 서버로부터 받아온 메뉴 정보를 출력 */
/*
xAddEventListener(document,'mousedown',checkMousePosition);
var _xPos = 0;
var _yPos = 0;
@ -62,9 +66,11 @@ function checkMousePosition(e) {
_xPos = evt.pageX;
_yPos = evt.pageY;
}
*/
function hideCategoryInfo() {
var obj = xGetElementById('menu_zone_info');
xInnerHtml(obj,'');
obj.style.display = "none";
}
@ -77,6 +83,7 @@ function completeGetMenuItemTplInfo(ret_obj, response_tags) {
var fo_obj = xGetElementById("fo_menu");
fo_obj.menu_name.focus();
/*
var x = _xPos + 50;
var y = _yPos - xHeight(obj)/2 + 80 + xScrollTop();
xLeft(obj, x);
@ -88,6 +95,7 @@ function completeGetMenuItemTplInfo(ret_obj, response_tags) {
}
if(typeof('fixAdminLayoutFooter')=="function") fixAdminLayoutFooter();
*/
}
/* 메뉴 아이템 입력후 */