mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Fix refused_reason textarea not displaying properly
This commit is contained in:
parent
8011e9a2f6
commit
6ce04aeeb2
1 changed files with 9 additions and 15 deletions
|
|
@ -69,7 +69,7 @@
|
||||||
</block>
|
</block>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="x_control-group" cond="$member_srl">
|
<div class="x_control-group div_status" cond="$member_srl">
|
||||||
<label class="x_control-label">{$lang->status}</label>
|
<label class="x_control-label">{$lang->status}</label>
|
||||||
<div class="x_controls">
|
<div class="x_controls">
|
||||||
<label class="x_inline" for="status_approved"><input type="radio" name="status" id="status_approved" value="APPROVED" checked="checked"|cond="$member_info->status == 'APPROVED' || $member_info->denied == 'Y' || $member_info->member_srl == $logged_info->member_srl" /> {$lang->approval}</label>
|
<label class="x_inline" for="status_approved"><input type="radio" name="status" id="status_approved" value="APPROVED" checked="checked"|cond="$member_info->status == 'APPROVED' || $member_info->denied == 'Y' || $member_info->member_srl == $logged_info->member_srl" /> {$lang->approval}</label>
|
||||||
|
|
@ -181,25 +181,19 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
var refused_reason_division = $('.div_refused_reason');
|
var div_refused_reason = $('.div_refused_reason');
|
||||||
if(!$('#deny').is(':checked'))
|
$('.div_status input').on('change', function() {
|
||||||
{
|
if ($('#status_approved').is(':checked')) {
|
||||||
refused_reason_division.hide();
|
div_refused_reason.hide();
|
||||||
}
|
} else {
|
||||||
$('#deny').change(function(){
|
div_refused_reason.show();
|
||||||
if($(this).is(':checked')){
|
|
||||||
refused_reason_division.slideDown(200);
|
|
||||||
}
|
}
|
||||||
});
|
}).first().triggerHandler('change');
|
||||||
$('#appoval').change(function(){
|
|
||||||
if($(this).is(':checked')){
|
|
||||||
refused_reason_division.slideUp(200);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
if(!$('#until').val())
|
if(!$('#until').val())
|
||||||
{
|
{
|
||||||
$('.div_limited_reason').hide();
|
$('.div_limited_reason').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue