From 53fde39822670f8a93b81a8c662335448e50e35c Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Wed, 14 Sep 2016 11:44:24 +0000 Subject: [PATCH] Task #9607: disable dependencies when there are too many tasks in view --- .../lib/static/app/controllers/ganttprojectcontroller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SAS/ResourceAssignment/ResourceAssignmentEditor/lib/static/app/controllers/ganttprojectcontroller.js b/SAS/ResourceAssignment/ResourceAssignmentEditor/lib/static/app/controllers/ganttprojectcontroller.js index c14bb17ea27..ecc42fb4bda 100644 --- a/SAS/ResourceAssignment/ResourceAssignmentEditor/lib/static/app/controllers/ganttprojectcontroller.js +++ b/SAS/ResourceAssignment/ResourceAssignmentEditor/lib/static/app/controllers/ganttprojectcontroller.js @@ -149,7 +149,7 @@ ganttProjectControllerMod.controller('GanttProjectController', ['$scope', 'dataS } //only enable dependencies (arrows between tasks) in detailed view - $scope.options.dependencies = (fullTimespanInMinutes <= 6*60) || numTasks < 20; + $scope.options.dependencies = (fullTimespanInMinutes <= 6*60 && numTasks <= 100) || numTasks < 20; //start with aggregating all tasks per type, //and plot these in the upper rows, -- GitLab