* Fix the scope of the products listed in the edit case.
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
<?php js::set('lblAfter', $lang->testcase->insertAfter);?>
|
||||
<?php js::set('caseID', $case->id);?>
|
||||
<?php js::set('executionID', $case->execution);?>
|
||||
<?php js::set('tab', $this->app->tab);?>
|
||||
<?php if($this->app->tab == 'execution') js::set('objectID', $case->execution);?>
|
||||
<?php if($this->app->tab == 'project') js::set('objectID', $case->project);?>
|
||||
<div id='mainContent' class='main-content'>
|
||||
<div class='main-header'>
|
||||
<h2>
|
||||
@@ -169,7 +172,7 @@
|
||||
<td>
|
||||
<div class='input-group'>
|
||||
<?php echo html::select('product', $products, $productID, "onchange='loadAll(this.value)' class='form-control chosen'");?>
|
||||
<?php if($this->session->currentProductType != 'normal') echo html::select('branch', $branches, $case->branch, "onchange='loadBranch();' class='form-control' style='width:65px'");?>
|
||||
<?php if(isset($product->type) and $product->type != 'normal') echo html::select('branch', $branches, $case->branch, "onchange='loadBranch();' class='form-control' style='width:65px'");?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user