* Fix that hide the product component cause a js error.

This commit is contained in:
liugang
2022-09-27 14:06:05 +08:00
parent ccbacddf4b
commit 73fa6a0ae8
+2 -4
View File
@@ -96,8 +96,7 @@ if($this->app->tab == 'project') js::set('objectID', $bug->project);
<div class='detail-title'><?php echo $lang->story->legendBasicInfo;?></div>
<table class='table table-form'>
<tbody>
<?php if(empty($product->shadow)):?>
<tr>
<tr<?php if($product->shadow) echo " class='hide'";?>>
<th class='w-80px'><?php echo $lang->bug->product;?></th>
<td>
<div class='input-group'>
@@ -106,9 +105,8 @@ if($this->app->tab == 'project') js::set('objectID', $bug->project);
</div>
</td>
</tr>
<?php endif;?>
<tr>
<th><?php echo $lang->bug->module;?></th>
<th class='w-80px'><?php echo $lang->bug->module;?></th>
<td>
<div class='input-group' id='moduleIdBox'>
<?php