* just use case step item as bug step when creating bug from case steps.

This commit is contained in:
chenfeiCF
2017-03-15 17:01:42 +08:00
parent 0416eed289
commit a5c19fd479
4 changed files with 25 additions and 2 deletions
+2 -1
View File
@@ -82,7 +82,8 @@
<tr class='step <?php echo $stepClass?>'>
<td class='step-id'>
<?php if($result->caseResult == 'fail'):?>
<input type='checkbox' name='stepIDList[]' value='<?php echo $key;?>'/>
<?php $inputName = $stepClass == 'step-item' ? 'stepIDList[]' : 'stepGroup[]';?>
<input type='checkbox' name='<?php echo $inputName;?>' value='<?php echo $key;?>'/>
<?php endif;?>
<?php echo $stepId;?>
</td>