* Finish task #56396.

This commit is contained in:
zhouxudong
2022-06-07 06:09:44 +00:00
parent 1a952376fe
commit 607a871ddf
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -738,7 +738,7 @@ function renderHeaderCol($column, column, $header, kanbanData)
/* Render more menu. */
if(column.type == 'backlog' || column.type == 'wait' || column.type == 'unconfirmed' && $actions.children('.text-primary').length == 0)
{
var tips = (productID) ? '' : 'onclick="tips()"';
var tips = productID ? '' : 'onclick="tips()"';
$actions.append([
'<a data-contextmenu="columnCreate" data-type="' + column.type + '" data-kanban="' + kanban.id + '" data-parent="' + (column.parentType || '') + '" class="text-primary"' + ((column.type !== 'wait') ? tips : '') + '>',
'<i class="icon icon-expand-alt"></i>',
+1 -1
View File
@@ -328,7 +328,7 @@ function renderHeaderCol($col, col, $header, kanban)
if(col.type === 'backlog' || col.type === 'wait' || col.type == 'unconfirmed')
{
var tips = (productID) ? '' : 'onclick="tips()"';
var tips = productID ? '' : 'onclick="tips()"';
$actions.append([
'<a data-contextmenu="columnCreate" data-type="' + col.type + '" data-kanban="' + kanban.id + '" data-parent="' + (col.parentType || '') + '" class="text-primary"' + ((col.laneType !== 'task') ? tips : '') + '>',
'<i class="icon icon-expand-alt"></i>',
-3
View File
@@ -110,9 +110,6 @@ js::set('priv',
'canUnlinkStory' => common::hasPriv('execution', 'unlinkStory'),
)
);
js::set('hasStoryButton', $hasStoryButton);
js::set('hasBugButton', $hasBugButton);
js::set('hasTaskButton', $hasTaskButton);
?>
<div id='mainMenu' class='clearfix'>
<div class='btn-toolbar pull-left'>