From bd26a3578a0f5c036f2368bfac806e1d8f96bd06 Mon Sep 17 00:00:00 2001 From: nagoon97 Date: Tue, 25 Sep 2012 09:30:05 +0000 Subject: [PATCH] link add panel git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11505 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/menu/tpl/sitemap.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/modules/menu/tpl/sitemap.html b/modules/menu/tpl/sitemap.html index bd78aeccd..ed38ca8d9 100644 --- a/modules/menu/tpl/sitemap.html +++ b/modules/menu/tpl/sitemap.html @@ -105,7 +105,7 @@ - +

@@ -144,7 +144,8 @@
- + +
@@ -199,7 +200,7 @@ - +

@@ -1058,11 +1059,10 @@ jQuery(function($){ }); $(document.body).on("click", '.clone a', function(){ - $(this).closest('.clone').prev('input[type="text"]').val($._htMarkupActionParam.sMenuTitle); + $(this).closest('.clone').prevAll('input._linkMenuTitle').val($._htMarkupActionParam.sMenuTitle); //$(this).closest('.clone').prev('input[type="text"]').val($._htMarkupActionParam.sMenuTitle + " ["+$._htMarkupActionParam.sMenuUrl+"]"); - $(this).closest('.clone').prev('input[type="hidden"]').val($._htMarkupActionParam.sMenuUrl); + $(this).closest('.clone').prev('input._linkMenuURL').val($._htMarkupActionParam.sMenuUrl); }); -// scrollToRight(); function scrollToRight(){ $('#site').scrollTo($('#site').width(), 0, {duration: 0 } ); @@ -1230,14 +1230,13 @@ jQuery(function($){ sUrl = "http://"+sUrl; } }else{ - sUrl = $('#add_menu .x_active ._linkMenu').val(); + sUrl = $('#add_menu .x_active ._linkMenuURL').val(); if(!sUrl){ alert("Target mid is required"); return; } } - } var params = {}; @@ -1250,7 +1249,7 @@ jQuery(function($){ params['url'] = sUrl; params['menu_open_window'] = "N"; params['menu_expand'] = "N"; - params['is_shortcut'] = "N"; + params['is_shortcut'] = isShortCut; params['parent_srl'] = sSelectedMenuSrl; /*