* Fix bug #30011.
This commit is contained in:
@@ -90,6 +90,7 @@ class product extends control
|
||||
$product = $this->product->getById($productID);
|
||||
|
||||
/* Get stories. */
|
||||
if($browseType == 'reviewing') $browseType = 'reviewingstory';
|
||||
$stories = $this->product->getStories($productID, $branchID, $browseType, $queryID, $moduleID, $storyType, $sort, $pager);
|
||||
|
||||
/* Display status of branch. */
|
||||
|
||||
@@ -39,6 +39,7 @@ js::set('rawModule', $this->app->rawModule);
|
||||
js::set('productType', $this->app->tab == 'product' ? $product->type : '');
|
||||
js::set('projectHasProduct', $projectHasProduct);
|
||||
js::set('URAndSR', $this->config->URAndSR);
|
||||
js::set('vision', $this->config->vision);
|
||||
?>
|
||||
<style>
|
||||
.btn-group .icon-close:before {font-size: 5px; vertical-align: 25%;}
|
||||
|
||||
@@ -5,7 +5,7 @@ $(function()
|
||||
$('#navbar .nav li').removeClass('active');
|
||||
$("#navbar .nav li[data-id=" + storyType + ']').addClass('active');
|
||||
|
||||
if(rawModule == 'projectstory' && !projectHasProduct && URAndSR)
|
||||
if(vision != 'lite' && rawModule == 'projectstory' && !projectHasProduct && URAndSR)
|
||||
{
|
||||
$('#navbar .nav>li[data-id=story]').addClass('active');
|
||||
$('#navbar .nav>li[data-id=story]>a').html($('.active [data-id=' + storyType + ']').text() + '<span class="caret"></span>');
|
||||
|
||||
@@ -38,6 +38,7 @@ js::set('unfoldStories', $unfoldStories);
|
||||
js::set('unfoldAll', $lang->execution->treeLevel['all']);
|
||||
js::set('foldAll', $lang->execution->treeLevel['root']);
|
||||
js::set('storyType', $storyType);
|
||||
js::set('vision', $this->config->vision);
|
||||
?>
|
||||
<style>
|
||||
.btn-group .icon-close:before {font-size: 5px; vertical-align: 25%;}
|
||||
|
||||
Reference in New Issue
Block a user