* Finish task #73240.

This commit is contained in:
Yagami
2022-10-27 09:06:55 +08:00
parent 7299a84a97
commit bf4f3c3dcc
2 changed files with 20 additions and 1 deletions
+19
View File
@@ -77,6 +77,25 @@ $(function()
});
})
if(isStage)
{
$('#attribute').change(function()
{
var attribute = $(this).val();
if(attribute == 'request' || attribute == 'design' || attribute == 'review')
{
$('#plansBox').closest('tr').addClass('hide');
$('#plansBox select[name^="plans"]').val('').trigger('chosen:updated');
}
else
{
$('#plansBox').closest('tr').removeClass('hide');
}
})
$('#attribute').change();
}
if(copyExecutionID != 0 || projectID != 0) $('#teams').change();
var acl = $("[name^='acl']:checked").val();
+1 -1
View File
@@ -346,7 +346,6 @@
</div>
</div>
</div>
<?php endif; ?>
<div class="detail">
<div class="detail-title"><strong><?php echo $lang->execution->linkPlan;?></strong></div>
<div class="detail-content">
@@ -367,6 +366,7 @@
</div>
</div>
</div>
<?php endif;?>
<div class='detail'>
<div class='detail-title'><strong><?php echo $lang->execution->lblStats;?></strong></div>
<div class="detail-content">