* Fix bug #55323.
This commit is contained in:
@@ -36,7 +36,7 @@ $('[name*=unitList]').change(function()
|
||||
|
||||
$('#submit').click(function()
|
||||
{
|
||||
if(module == 'testcase' && field == 'review' && stopSubmit)
|
||||
if(module == 'testcase' && field == 'review' && stopSubmit && oldNeedReview)
|
||||
{
|
||||
var needReview = $('input:radio[name="needReview"]:checked').val();
|
||||
stopSubmit = false;
|
||||
|
||||
@@ -128,6 +128,7 @@ EOT;
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<?php if($module == 'testcase'):?>
|
||||
<?php js::set('oldNeedReview', $needReview);?>
|
||||
<tr <?php if($needReview) echo "class='hidden'"?>>
|
||||
<th><?php echo $lang->custom->forceReview;?></th>
|
||||
<td><?php echo html::select('forceReview[]', $users, $forceReview, "class='form-control chosen' multiple");?></td>
|
||||
|
||||
Reference in New Issue
Block a user