* Finish task#8084.

This commit is contained in:
qiyu-xie
2020-10-09 15:31:00 +08:00
parent c20b7e7a5c
commit d12a45cb02
2 changed files with 7 additions and 1 deletions
-1
View File
@@ -567,7 +567,6 @@ class storyModel extends model
->remove('files,labels,comment,contactListMenu,stages')
->get();
if(isset($story->plan) and is_array($story->plan)) $story->plan = trim(join(',', $story->plan), ',');
if(empty($_POST['product'])) $story->branch = $oldStory->branch;
if(isset($_POST['branch']) and $_POST['branch'] == 0) $story->branch = 0;
if(!empty($_POST['stages']))
{
+7
View File
@@ -80,6 +80,13 @@
</div>
</td>
</tr>
<?php else:?>
<tr>
<th class='thWidth'><?php echo $lang->product->branch;?></th>
<td>
<div class='input-group'><?php if($product->type != 'normal') echo html::select('branch', $branches, $story->branch, "onchange='loadBranch();' class='form-control chosen control-branch'");?></div>
</td>
</tr>
<?php endif;?>
<tr>
<th class='thWidth'><?php echo $lang->story->module;?></th>