diff --git a/modules/menu/tpl/sitemap.html b/modules/menu/tpl/sitemap.html index e544820c7..02747043c 100644 --- a/modules/menu/tpl/sitemap.html +++ b/modules/menu/tpl/sitemap.html @@ -248,18 +248,6 @@

이미지 버튼

-
@@ -267,7 +255,7 @@ form._imgUploaded input {width:...}: 이미지 등록 된 상태
일반

이미지 없음

- 일반 버튼 이미지 + 일반 버튼 이미지
@@ -285,7 +273,7 @@ form._imgUploaded input {width:...}: 이미지 등록 된 상태
마우스 오버

이미지 없음

- 마우스 오버 버튼 이미지 + 마우스 오버 버튼 이미지
@@ -303,7 +291,7 @@ form._imgUploaded input {width:...}: 이미지 등록 된 상태
선택 됨

이미지 없음

- 선택 됨 버튼 이미지 + 선택 됨 버튼 이미지
@@ -974,7 +962,7 @@ function createTreeMarkup(aNode, sParentSrl, sMenuTree, sMenuTreeNode){ sTextWithIcons += " ${s}"; } - sResult += $.tmpl( sMenuTreeNode, {MenuTitleWithHome:sTextWithIcons,MenuTitle:sText,MenuId:sNodeSrl,MenuUrl:sURL,MenuType:nNodeType,SubTree:sSubTree,Target:sTargetPanel} ).get()[0].outerHTML.replace("${h}", "[HOME]").replace("${s}", ""); + sResult += $.tmpl( sMenuTreeNode, {MenuTitleWithHome:sTextWithIcons,MenuTitle:sText,MenuId:sNodeSrl,MenuUrl:sURL,MenuType:nNodeType,SubTree:sSubTree,Target:sTargetPanel} ).get()[0].outerHTML.replace("${h}", "[HOME]").replace("${s}", ""); } return $.tmpl( sMenuTree, {Nodes:sResult} ).get()[0].outerHTML; @@ -2370,9 +2358,6 @@ jQuery(function($){ $('#imgbtn').show(); } var $imgBtnForms = $("#imgbtn form"); - $imgBtnForms.find("input[type=file]").change(function(){ - $(this).closest('form').submit(); - }); $imgBtnForms.find('input[name=act]').val('procMenuAdminButtonUpload'); $imgBtnForms.find('input[name=mid]').remove(); $imgBtnForms.find('input[name=vid]').remove(); @@ -2391,7 +2376,11 @@ jQuery(function($){ // reset the file inputs $('#imgbtn input[type=file]').each(function(){ - $(this).outerHTML($(this).outerHTML); + ($($(this).outerHTML())).insertAfter($(this)); + $(this).remove(); + }); + $('#imgbtn input[type=file]').change(function(){ + $(this).closest('form').submit(); }); if(htData.menu_item.normal_btn){ @@ -2911,9 +2900,6 @@ jQuery(function($){ }); } -// $('#add_url').bind("show", function(){console.log('show');}); -// $('#add_url').bind("hide", function(){console.log('hide');}); - // Set #site height fix $(window).resize(function(){ var wHeigh = $(window).height(); @@ -2921,7 +2907,7 @@ jQuery(function($){ }).resize(); // #linkMenu copy and set text to input - alert('test'); + //alert('test'); /* setTimeout(function(){ $('.mapi').clone().removeClass().removeAttr('id').addClass('clone').appendTo('#add_linkMenu, #fix_linkMenu').find('li').removeAttr('id').removeAttr('class').find('ins, .side').remove(); @@ -2931,60 +2917,6 @@ setTimeout(function(){ }, 1000); */ -/* - $('.x_close[data-admin-hide]').click(function(){ - var inactiveTarget = $(this).attr('data-admin-hide'); - $navAnchor.each(function(){ - var href = $(this).attr('href'); - if(href == inactiveTarget){ - $(this).parent('li').removeClass('active'); - } - }); - }); -*/ - -// Theme(layout | skin) list toggle - //var $theme = $('.theme'); - // layout, skin list toggle - /* - $theme.find('.list').each(function(){ - var $this = $(this); - var $check = $this.prev('label').children('input:checkbox'); - function toggleList(){ - if($check.is(':checked')){ - $this.hide(); - } else { - $this.show(); - } - } - $(window).load(toggleList); - $check.change(toggleList); - }); - */ - /* - // .selected class toggle - $theme.find(':radio').change(function(){ - var $this = $(this); - if($this.is(':checked')){ - $this.closest('li').addClass('selected').siblings('li').removeClass('selected'); - } - }).change(); - // thumbnamil click - $theme.find('.item').click(function(){ - $(this).prev('label').children(':radio').click(); - }); -// Remove Menu Item Checkbox Toggle - var $mrc = $('#menuRemoveConfirm'); - $mrc.find('input:checkbox').removeAttr('checked').change(function(){ - var $this = $(this); - var $submit = $this.closest($mrc).find('[type="submit"]'); - if($this.is(':checked')){ - $submit.removeClass('x_disabled'); - } else { - $submit.addClass('x_disabled'); - } - }); - */ }); //]]>