Add hyperlink to the description page in '#add_page' panel

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12146 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2012-11-07 06:37:25 +00:00
parent bb727d4bb5
commit 638d7fc2e9

View file

@ -103,7 +103,7 @@
</div>
<div class="col url" id="add_menu" style="display:none">
<fieldset>
<h1 class="_title"><!--URL 링크--></h1>
<h1><a class="_title"></a></h1>
<div class="cnt">
<ul>
<li>
@ -1528,7 +1528,16 @@ jQuery(function($){
$._xeAdminVar.sSelectedModuleName = $._htMarkupActionParam.moduleName;
$._xeAdminVar.sSelectedModuleTitle = $._htMarkupActionParam.moduleTitle;
$(this).find("._title").html($._xeAdminVar.sSelectedModuleTitle);
var $title = $(this).find("._title");
$title.html($._xeAdminVar.sSelectedModuleTitle);
var htItemType = $._xeAdminVar.htItemTypes[$._xeAdminVar.sSelectedModuleName];
if(htItemType.package_srl && htItemType.url){
$title.attr('target', '_blank');
$title.attr('href', htItemType.url);
}else{
$title.removeAttr('target');
$title.removeAttr('href');
}
if($._xeAdminVar.sSelectedModuleName === "_SHORTCUT"){
$(this).removeClass("page");