포인트 모듈을 켜지 않아도 모듈 설정에 접근이 가능하도록 함

This commit is contained in:
COMI 2018-08-20 16:11:12 +09:00
parent 6b5e7ff647
commit d9662b407c

View file

@ -225,20 +225,3 @@
<p id="pointReCal"></p>
</section>
</form>
<script>
jQuery(function($){
var point_module_cfg = $('#point_module_config_form .default .x_control-group:not(.module_io), #point_module_config_form .section:not(.default),.x_nav-tabs>li:not(.x_active)');
if(!$('#able_module').is(':checked'))
{
point_module_cfg.hide();
}
$('#able_module').change(function(){
if($(this).is(':checked')){
point_module_cfg.slideDown(200);
} else {
point_module_cfg.slideUp(200);
}
});
});
</script>