* Finish task #38894.

This commit is contained in:
tianshujie98
2021-06-04 12:49:40 +08:00
parent 9d1876b009
commit bebed24d04
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -5,11 +5,11 @@ $(function()
$('#reviewer').attr('disabled', $(this).is(':checked') ? 'disabled' : null).trigger('chosen:updated');
if($(this).is(':checked'))
{
$('#reviewerTd').removeClass('required');
$('#reviewerBox').removeClass('required');
}
else
{
$('#reviewerTd').addClass('required');
$('#reviewerBox').addClass('required');
}
getStatus('create', "product=" + $('#product').val() + ",execution=" + executionID + ",needNotReview=" + ($(this).prop('checked') ? 1 : 0));
+1 -1
View File
@@ -101,7 +101,7 @@
<tr>
<th><?php echo $lang->story->reviewedBy;?></th>
<?php $colspan = $type == 'story' ? "colspan='4'" : "colspan='2'";?>
<td <?php echo $colspan;?> id='reviewerTd'>
<td <?php echo $colspan;?> id='reviewerBox'>
<div class="table-row">
<div class="table-col">
<?php echo html::select('reviewer[]', $users, empty($needReview) ? $product->PO : '', "class='form-control chosen' multiple");?>