* Fix bug #18002.
This commit is contained in:
@@ -2145,20 +2145,20 @@ class execution extends control
|
||||
$this->app->loadLang('story');
|
||||
$this->app->loadLang('task');
|
||||
$this->app->loadLang('bug');
|
||||
$this->loadModel('kanban');
|
||||
|
||||
/* Compatibility IE8. */
|
||||
if(strpos($this->server->http_user_agent, 'MSIE 8.0') !== false) header("X-UA-Compatible: IE=EmulateIE7");
|
||||
|
||||
if($execution->lifetime == 'ops')
|
||||
{
|
||||
$browseType = 'task';
|
||||
unset($this->lang->kanban->type['story']);
|
||||
unset($this->lang->kanban->type['bug']);
|
||||
$kanbanGroup = $this->loadModel('kanban')->getExecutionKanban($executionID, 'task', $groupBy);
|
||||
}
|
||||
else
|
||||
{
|
||||
$kanbanGroup = $this->loadModel('kanban')->getExecutionKanban($executionID, $browseType, $groupBy);
|
||||
unset($this->lang->kanban->type['all']);
|
||||
}
|
||||
|
||||
$kanbanGroup = $this->kanban->getExecutionKanban($executionID, $browseType, $groupBy);
|
||||
if(empty($kanbanGroup))
|
||||
{
|
||||
$this->kanban->createExecutionLane($executionID, $browseType, $groupBy);
|
||||
|
||||
@@ -13,14 +13,7 @@
|
||||
<div id='mainMenu' class='clearfix'>
|
||||
<div class='btn-toolbar pull-left'>
|
||||
<div class="input-control space c-type">
|
||||
<?php
|
||||
if($execution->lifetime == 'ops')
|
||||
{
|
||||
unset($lang->kanban->type['story']);
|
||||
unset($lang->kanban->type['bug']);
|
||||
}
|
||||
echo html::select('type', $lang->kanban->type, $browseType, 'class="form-control chosen" data-max_drop_width="215"');
|
||||
?>
|
||||
<?php echo html::select('type', $lang->kanban->type, $browseType, 'class="form-control chosen" data-max_drop_width="215"');?>
|
||||
</div>
|
||||
<?php if($browseType != 'all'):?>
|
||||
<div class="input-control space c-group">
|
||||
|
||||
Reference in New Issue
Block a user