Remove redundant call to scheduling algorithm from TaskPropertiesController.
The algorithm is already being called from ResourceAllocationController. FEA: ItEr76S04BugFixing
This commit is contained in:
parent
7665af0247
commit
cce801ee1c
1 changed files with 4 additions and 3 deletions
|
|
@ -269,9 +269,10 @@ public class TaskPropertiesController extends GenericForwardComposer {
|
|||
.getValue())) : null;
|
||||
if (taskConstraint.isValid(type, inputDate)) {
|
||||
taskConstraint.update(type, inputDate);
|
||||
if (currentContext != null) {
|
||||
currentContext.recalculatePosition(currentTaskElement);
|
||||
}
|
||||
//at this point we could call currentContext.recalculatePosition(currentTaskElement)
|
||||
//to trigger the scheduling algorithm, but we don't do it because
|
||||
//the ResourceAllocationController, which is attached to the other
|
||||
//tab of the same window, will do it anyway.
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue