diff --git a/modules/menu/tpl/sitemap.html b/modules/menu/tpl/sitemap.html index 0d5b18016..1c097508e 100644 --- a/modules/menu/tpl/sitemap.html +++ b/modules/menu/tpl/sitemap.html @@ -159,28 +159,7 @@

다른 메뉴타입설치

- +
@@ -501,15 +480,33 @@

다른 스킨 설치

- + + +
@@ -1125,7 +1122,8 @@ jQuery(function($){ - $("#tmpl_downloadableMenuTypeItem").template( "downloadableMenuTypeItem" ); + $("#tmpl_noDownloadableItem").template( "noDownloadableItem" ); + $("#tmpl_downloadableItem").template( "downloadableItem" ); $("#tmpl_pagination").template( "pagination" ); $("#tmpl_pagination_list").template( "paginationList" ); @@ -1557,6 +1555,8 @@ jQuery(function($){ $(this).find('.lang_code').trigger('reload-multilingual'); + //./console.log(''); + showMenuSelector($(this).find('._menuSelector_menuTreeContainer')); }); $('#add_menu').bind("hide", function(ev){ @@ -1598,11 +1598,12 @@ jQuery(function($){ } }else{ sUrl = $('#add_menu .x_active ._linkMenuSrl').val(); - +/* if(!sUrl){ alert("Target mid is required"); return; } +*/ } sTargetKey = 'shortcut_target'; @@ -2164,7 +2165,7 @@ jQuery(function($){ sIsInstalled = ""; } - $node = $.tmpl( "downloadableMenuTypeItem", { + $node = $.tmpl( "downloadableItem", { MenuType: item.title, MenuTypeDesc: item.package_description, ScreenShotURL: item.item_screenshot_url.replace(/^http:\/\//, ""), @@ -2178,7 +2179,7 @@ jQuery(function($){ $Panel.find('.list').append($node); } - + //$Panel.find('.list').html(sResult); var htInfo = htData.page_navigation; @@ -2191,6 +2192,11 @@ jQuery(function($){ } //createPagination($('#download ._pagination'), drawMenuModuleList, htInfo.cur_page, htInfo.total_page, "« 첫 페이지", "끝 페이지 »", "페이지 직접 이동") createPagination($Panel.find('._pagination'), fnCallback, htInfo.cur_page, htInfo.total_page, "« 첫 페이지", "끝 페이지 »", "페이지 직접 이동") + }else{ + $node = $.tmpl( "noDownloadableItem", { + } ); + + $Panel.find('.list').append($node); } scrollToTop($Panel.find('.cnt')); @@ -3081,9 +3087,16 @@ exec_xml("module","procModuleAdminSetDesignInfo", params, completeTmp) $(window).resize(function(){ $foggyLayer.css({ - width: $(document).width(), - height: $(document).height() + width: 0, + height: 0 }); + + setTimeout(function(){ + $foggyLayer.css({ + width: $(document).width(), + height: $(document).height() + }); + }, 0); }); function showFoggy(){ $foggyLayer.show();