mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
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:
parent
bb727d4bb5
commit
638d7fc2e9
1 changed files with 11 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue