* Finish task#8084.
This commit is contained in:
@@ -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']))
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user