* [bug#62430,done,1h,0h] Fix project execution name col title error.
This commit is contained in:
@@ -163,7 +163,6 @@ $config->project->execution->dtable->fieldList['rawID']['show'] = true;
|
||||
|
||||
$config->project->execution->dtable->fieldList['name']['title'] = $lang->nameAB;
|
||||
$config->project->execution->dtable->fieldList['name']['name'] = 'nameCol';
|
||||
$config->project->execution->dtable->fieldList['name']['type'] = 'title';
|
||||
$config->project->execution->dtable->fieldList['name']['fixed'] = 'left';
|
||||
$config->project->execution->dtable->fieldList['name']['flex'] = 1;
|
||||
$config->project->execution->dtable->fieldList['name']['type'] = 'nestedTitle';
|
||||
|
||||
@@ -56,7 +56,6 @@ window.onRenderCell = function(result, {col, row})
|
||||
result[0].props.children = data.type == 'point' ? '' : data.name;
|
||||
if(data.id.indexOf('tid') > -1 && data.type != 'point')
|
||||
{
|
||||
result[0].props.title = data.rawName;
|
||||
result[0].props.children = data.rawName;
|
||||
result[0].props.href = $.createLink('task', 'view', 'taskID=' + data.rawID);
|
||||
html += data.prefixLabel;
|
||||
@@ -84,6 +83,7 @@ window.onRenderCell = function(result, {col, row})
|
||||
}
|
||||
}
|
||||
|
||||
result[1].attrs.title = typeof data.rawName != 'undefined' && data.rawName ? data.rawName : data.name;
|
||||
if(html) result.unshift({className: 'flex items-center', html: html});
|
||||
|
||||
if(typeof data.delay != 'undefined' && data.delay && !['done', 'cancel', 'close'].includes(data.status) && data.type != 'point' && data.end != '' && data.end != '0000-00-00' && today > data.end)
|
||||
|
||||
Reference in New Issue
Block a user