mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21: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>
|
||||
</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>
|
||||
<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>
|
||||
|
|
@ -181,25 +181,19 @@
|
|||
});
|
||||
});
|
||||
|
||||
var refused_reason_division = $('.div_refused_reason');
|
||||
if(!$('#deny').is(':checked'))
|
||||
{
|
||||
refused_reason_division.hide();
|
||||
}
|
||||
$('#deny').change(function(){
|
||||
if($(this).is(':checked')){
|
||||
refused_reason_division.slideDown(200);
|
||||
var div_refused_reason = $('.div_refused_reason');
|
||||
$('.div_status input').on('change', function() {
|
||||
if ($('#status_approved').is(':checked')) {
|
||||
div_refused_reason.hide();
|
||||
} else {
|
||||
div_refused_reason.show();
|
||||
}
|
||||
});
|
||||
$('#appoval').change(function(){
|
||||
if($(this).is(':checked')){
|
||||
refused_reason_division.slideUp(200);
|
||||
}
|
||||
});
|
||||
}).first().triggerHandler('change');
|
||||
|
||||
if(!$('#until').val())
|
||||
{
|
||||
$('.div_limited_reason').hide();
|
||||
}
|
||||
|
||||
})(jQuery);
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue