mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
17434017 * 메뉴 순서 변경시 *_srl 값이 변조되는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4856 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5c846f4515
commit
45c0c50471
3 changed files with 8 additions and 8 deletions
|
|
@ -128,17 +128,17 @@ function completeInsertMenuItem(ret_obj) {
|
|||
|
||||
|
||||
/* 메뉴를 드래그하여 이동한 후 실행할 함수 , 이동하는 item_srl과 대상 item_srl을 받음 */
|
||||
function doMoveTree(menu_id, source_item_srl, target_item_srl) {
|
||||
function doMoveTree(menu_id, source_item, target_item) {
|
||||
var fo_obj = xGetElementById("fo_move_menu");
|
||||
fo_obj.menu_id.value = menu_id;
|
||||
fo_obj.source_item_srl.value = source_item_srl;
|
||||
fo_obj.target_item_srl.value = target_item_srl;
|
||||
fo_obj.source_item.value = source_item;
|
||||
fo_obj.target_item.value = target_item;
|
||||
|
||||
// 이동 취소를 선택하였을 경우 다시 그림;;
|
||||
if(!procFilter(fo_obj, move_menu_item)) {
|
||||
var params = new Array();
|
||||
params["xml_file"] = xGetElementById('fo_menu').xml_file.value;
|
||||
params["source_item_srl"] = source_item_srl;
|
||||
params["source_item"] = source_item;
|
||||
completeMoveMenuItem(params);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@
|
|||
<!-- 메뉴 이동을 위해 임시로 사용하는 form -->
|
||||
<form id="fo_move_menu" action="./" method="get">
|
||||
<input type="hidden" name="menu_id" />
|
||||
<input type="hidden" name="source_item_srl" />
|
||||
<input type="hidden" name="target_item_srl" />
|
||||
<input type="hidden" name="source_item" />
|
||||
<input type="hidden" name="target_item" />
|
||||
</form>
|
||||
|
||||
<!--@if($module == 'admin')-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue