* Finish task #56396.
This commit is contained in:
@@ -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>',
|
||||
|
||||
@@ -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>',
|
||||
|
||||
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user