* Finish task#8084.

This commit is contained in:
qiyu-xie
2020-10-09 15:37:23 +08:00
parent f7911a7013
commit 437c7987d8
2 changed files with 7 additions and 1 deletions
-1
View File
@@ -636,7 +636,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>