* Fix bug#39351.
This commit is contained in:
@@ -204,8 +204,8 @@ $config->execution->datatable->fieldList['name']['required'] = 'yes';
|
||||
if(isset($config->setCode) and $config->setCode == 1)
|
||||
{
|
||||
$config->execution->datatable->fieldList['code']['title'] = 'execCode';
|
||||
$config->execution->datatable->fieldList['code']['type'] = 'text';
|
||||
$config->execution->datatable->fieldList['code']['width'] = 180;
|
||||
$config->execution->datatable->fieldList['code']['type'] = 'html';
|
||||
$config->execution->datatable->fieldList['code']['width'] = '180';
|
||||
$config->execution->datatable->fieldList['code']['fixed'] = 'left';
|
||||
$config->execution->datatable->fieldList['code']['required'] = 'no';
|
||||
}
|
||||
|
||||
@@ -5865,6 +5865,10 @@ class executionModel extends model
|
||||
$execution->asParent = !empty($execution->children);
|
||||
$execution->status = zget($this->lang->execution->statusList, $execution->status);
|
||||
$execution->PM = zget($users, $execution->PM);
|
||||
if(isset($this->config->setCode) and $this->config->setCode == 1)
|
||||
{
|
||||
$execution->code = "<div title=$execution->code style='justify-content: start;'>$execution->code</div>";
|
||||
}
|
||||
|
||||
$children = isset($execution->children) ? $execution->children : array();
|
||||
unset($execution->children);
|
||||
|
||||
Reference in New Issue
Block a user