Skip to content

Commit

Permalink
#2218 #2223 PR에서 버그 수정
Browse files Browse the repository at this point in the history
- 버그 수정 과정에서 동적으로 상태를 표시하는 코드를 제거하고 해당 페이지에서만 표시하도록 간소화 했습니다
  • Loading branch information
bnu committed Feb 22, 2018
1 parent 646c39d commit d948bab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
7 changes: 2 additions & 5 deletions modules/member/tpl/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<load target="js/config.js" />
<div class="x_page-header">
<h1>{$lang->cmd_member_config} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_member_config" target="_blank">{$lang->help}</a></h1>
</div>
Expand All @@ -11,11 +10,9 @@ <h1>{$lang->cmd_member_config} <a class="x_icon-question-sign" href="./admin/hel
<li class="x_active"|cond="$act == 'dispMemberAdminLoginConfig'"><a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminLoginConfig')}">{$lang->cmd_login}</a></li>
<li class="x_active"|cond="$act == 'dispMemberAdminDesignConfig'"><a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminDesignConfig')}">{$lang->cmd_set_design_info}</a></li>
</ul>
<block cond="$act == 'dispMemberAdminSignUpConfig'">

<block cond="$act === 'dispMemberAdminSignUpConfig' && $config->enable_join !== 'Y'">
<div class="x_msg-warn message error">
<p>{$lang->warn_member_setting}</p>
</div>
</block>
<script>
alertNewMemberAcceptSetting({$config->enable_join == 'Y' ? 'true' : 'false'});
</script>
9 changes: 0 additions & 9 deletions modules/member/tpl/js/config.js

This file was deleted.

5 changes: 0 additions & 5 deletions modules/member/tpl/js/default_config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
jQuery(function($){
$('input[name=enable_join]').click(function(){
var checked = $('input[name=enable_join]:checked').val();
enableSignUpTab(checked == 'Y');
});

$('.__sync').click(function (){
exec_xml(
'importer', // module
Expand Down

0 comments on commit d948bab

Please sign in to comment.