Skip to content

Commit

Permalink
closes #1552
Browse files Browse the repository at this point in the history
  * 추가.
  * 스킨에 custom.js가 있을 경우 그 파일을 로드합니다.
  * 주의사항
   * Textcube에 jQuery가 들어있지만 기본 값은 noConflict가 동작합니다. 따라서 $를 앨리어스로 쓸 수 없습니다. 반드시 $ 대신 jQuery 라고 써주셔야 합니다.
   * 스크립트는 header에 가깝게 로드되므로, DOM이 로드된 뒤 동작해야 하는 경우는 해당 처리를 해 주셔야 합니다. jQuery에서 해당 이벤트 등록을 지원합니다. jQuery및 EAF는 custom.js보다 먼저 로드됩니다.
  • Loading branch information
inureyes committed Jan 12, 2011
1 parent a252bbd commit c16db07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions interface/common/owner/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,11 @@
<!-- <script type="text/javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/jquery/jquery-ui-1.8.7.custom.min.js"></script>-->
<?php
}
if (file_exists(ROOT . "/skin/admin/".$context->getProperty('panel.skin')."/custom.js")) {
?>
<script type="text/javascript" src="<?php echo $context->getProperty('service.path').$context->getProperty('panel.skin');?>/custom.js" />
<?php
}
if($service['interface'] == 'simple') {
if(!in_array($blogMenu['contentMenu'],array('post','edit'))) {
?>
Expand Down

0 comments on commit c16db07

Please # to comment.