* Optimize code logic.
This commit is contained in:
@@ -3428,7 +3428,11 @@ class execution extends control
|
||||
foreach($executionStats as $stage)
|
||||
{
|
||||
$stageList[] = $stage;
|
||||
foreach($stage->children as $child) $stageList[] = $child;
|
||||
foreach($stage->children as $child)
|
||||
{
|
||||
$child->name = $stage->name . '/' . $child->name;
|
||||
$stageList[] = $child;
|
||||
}
|
||||
}
|
||||
|
||||
$executionStats = $stageList;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$(function()
|
||||
{
|
||||
if(manageLine && (programID || systemMode == 'classic')) $('#line_chosen').addClass('hidden');
|
||||
if(manageLinePriv && (programID || systemMode == 'classic')) $('#line_chosen').addClass('hidden');
|
||||
$('#lineName').css('border-left-color', '');
|
||||
})
|
||||
/**
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<?php js::set('noProject', false);?>
|
||||
<?php js::set('programID', $programID);?>
|
||||
<?php js::set('systemMode', $this->config->systemMode);?>
|
||||
<?php js::set('manageLine', common::hasPriv('product', 'manageLine'));?>
|
||||
<?php js::set('manageLinePriv', common::hasPriv('product', 'manageLine'));?>
|
||||
<div id="mainContent" class="main-content">
|
||||
<div class="center-block">
|
||||
<div class="main-header">
|
||||
|
||||
Reference in New Issue
Block a user