mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@360 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cdfef84cd6
commit
fa9582ab97
3 changed files with 67 additions and 38 deletions
|
|
@ -61,6 +61,11 @@ function doGetMenuInfo(menu_id, obj) {
|
|||
exec_xml('layout', 'getMenuTplInfo', params, completeGetMenuInfo, response_tags, params);
|
||||
}
|
||||
|
||||
/* 메뉴를 드래그하여 이동한 후 실행할 함수 , 이동하는 node_srl과 대상 node_srl을 받음 */
|
||||
function doMoveTree(source_node_srl, target_node_srl) {
|
||||
alert(source_node_srl+ ' - ' +target_node_srl);
|
||||
}
|
||||
|
||||
/* 서버로부터 받아온 메뉴 정보를 출력 */
|
||||
function completeGetMenuInfo(ret_obj, response_tags) {
|
||||
var menu_id = ret_obj['menu_id'];
|
||||
|
|
|
|||
|
|
@ -78,7 +78,6 @@
|
|||
<th>
|
||||
{$menu->name} <br />
|
||||
({$menu->maxdepth} {$lang->depth})
|
||||
<textarea id="aa"></textarea>
|
||||
</th>
|
||||
<td>
|
||||
<form id="fo_{$menu_id}" action="./" method="get" onsubmit="return procFilter(this, insert_layout_menu)">
|
||||
|
|
@ -104,7 +103,7 @@
|
|||
</table>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
loadTreeMenu("{$menu->xml_file}", "{$menu_id}", "menu_zone_{$menu_id}", "{$menu->name}", doGetMenuInfo);
|
||||
loadTreeMenu("{$menu->xml_file}", "{$menu_id}", "menu_zone_{$menu_id}", "{$menu->name}", doGetMenuInfo, 0, doMoveTree);
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue