* Fix bug #25234,25233.

This commit is contained in:
tianshujie
2022-07-14 09:57:56 +08:00
parent ace5265a11
commit b5a9fe8c52
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
<table class='table table-form'>
<tr>
<th class='w-130px'><?php echo $lang->project->parent;?></th>
<?php $disabled = $this->app->tab == 'product' ? 'disabled' : '';?>
<?php $disabled = ($this->app->tab == 'product' and $productID) ? 'disabled' : '';?>
<td><?php echo html::select('parent', $programList, $programID, "class='form-control chosen' onchange='setParentProgram(this.value)' $disabled");?></td>
<?php if($disabled) echo html::hidden('parent', $programID);?>
<td>