* [bug#62550,done,2h,0h] Fix kanban task connection error.
This commit is contained in:
@@ -707,6 +707,14 @@ function initGantt()
|
||||
return false;
|
||||
}
|
||||
|
||||
const sourceTask = gantt.getTask(link.source);
|
||||
const targetTask = gantt.getTask(link.target);
|
||||
if(sourceTask.allowLinks === false || targetTask.allowLinks === false)
|
||||
{
|
||||
zui.Messager.show({content: ganttLang.wrongKanbanTasks, type: 'danger-outline', icon: 'exclamation-sign'});
|
||||
return false;
|
||||
};
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user