This commit is contained in:
孙广明
2022-05-25 14:46:59 +08:00
parent 120743e044
commit ececdba8df
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ $('[name*=unitList]').change(function()
$('#submit').click(function()
{
if(module == 'testcase' && field == 'review' && stopSubmit)
if(module == 'testcase' && field == 'review' && stopSubmit && oldNeedReview)
{
var needReview = $('input:radio[name="needReview"]:checked').val();
stopSubmit = false;
+1
View File
@@ -128,6 +128,7 @@ EOT;
</tr>
<?php endif;?>
<?php if($module == 'testcase'):?>
<?php js::set('oldNeedReview', $needReview);?>
<tr <?php if($needReview) echo "class='hidden'"?>>
<th><?php echo $lang->custom->forceReview;?></th>
<td><?php echo html::select('forceReview[]', $users, $forceReview, "class='form-control chosen' multiple");?></td>