* Modify the name of the tr.

This commit is contained in:
qiyu-xie
2021-04-15 14:52:36 +08:00
parent 1bf545170d
commit eaa1460654
3 changed files with 4 additions and 4 deletions

View File

@@ -106,13 +106,13 @@ function computeEndDate(delta)
$('#end').val(longTime);
$('#end').attr('disabled', 'disabled');
$('#days').attr('disabled', 'disabled');
$('#daysDiv').addClass('hidden');
$('#daysBox').addClass('hidden');
return false;
}
else
{
$('#days').removeAttr('disabled');
$('#daysDiv').removeClass('hidden');
$('#daysBox').removeClass('hidden');
$('#end').removeAttr('disabled');
}

View File

@@ -80,7 +80,7 @@
<td colspan='2'><?php echo html::radio('delta', $lang->project->endList , '', "onclick='computeEndDate(this.value)'");?></td>
</tr>
<?php if($model == 'scrum'):?>
<tr id='daysDiv'>
<tr id='daysBox'>
<th><?php echo $lang->execution->days;?></th>
<td>
<div class='input-group'>

View File

@@ -83,7 +83,7 @@
<td colspan='2'><?php echo html::radio('delta', $lang->project->endList , $deltaValue, "onclick='computeEndDate(this.value)'");?></td>
</tr>
<?php if($project->model == 'scrum'):?>
<tr id='daysDiv' <?php if($project->end == LONG_TIME) echo "class='hidden'";?>>
<tr id='daysBox' <?php if($project->end == LONG_TIME) echo "class='hidden'";?>>
<th><?php echo $lang->project->days;?></th>
<td>
<div class='input-group'>