diff --git a/module/testtask/view/batchrun.html.php b/module/testtask/view/batchrun.html.php
index 6d4a76d03b..3510cdf61b 100644
--- a/module/testtask/view/batchrun.html.php
+++ b/module/testtask/view/batchrun.html.php
@@ -55,7 +55,7 @@
type == 'group') echo "colspan='2'"?>>desc' class='$stepClass'>" . $ID . "、" . $step->desc . ''?> |
type != 'group'):?>
expect'>" . $lang->testcase->stepExpect . ":" . $step->expect . ''?> |
- testcase->resultList, 'pass', "class='form-control'")?> |
+ testcase->resultList, 'pass', "class='form-control'")?> |
|
@@ -78,6 +78,7 @@ function showAction(value, obj)
if(value == 'pass')
{
$(obj).addClass('hidden');
+ $(obj).find('select[id^=steps]').val(value);
if($(obj).parent().prop('tagName') == 'TR')
{
$(obj).closest('tbody').children('tr').each(function(){
@@ -89,6 +90,7 @@ function showAction(value, obj)
else
{
$(obj).removeClass('hidden');
+ $(obj).find('select[id^=steps]').eq(-1).val(value);
if($(obj).parent().prop('tagName') == 'TR')
{
$(obj).closest('tbody').children('tr').each(function(){