* Finish task #54473.
This commit is contained in:
@@ -205,7 +205,6 @@ class program extends control
|
||||
$this->view->programList = $this->program->getList();
|
||||
$this->view->budgetUnitList = $this->project->getBudgetUnitList();
|
||||
$this->view->budgetLeft = $this->program->getBudgetLeft($parentProgram);
|
||||
$this->view->disabled = isset($parentProgram->id) ? 'disabled' : '';
|
||||
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -50,7 +50,9 @@
|
||||
<table class='table table-form'>
|
||||
<tr>
|
||||
<th><?php echo $lang->program->parent;?></th>
|
||||
<?php $disabled = isset($parentProgram->id) ? 'disabled' : '';?>
|
||||
<td><?php echo html::select('parent', $parents, isset($parentProgram->id) ? $parentProgram->id : 0, "class='form-control chosen' onchange=setBudgetTipsAndAclList(this.value) $disabled");?>
|
||||
<td><?php if($disabled) echo html::hidden('parent', $parentProgram->id);?></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user