diff --git a/navalplanner-webapp/src/main/java/org/navalplanner/web/planner/allocation/AdvancedAllocationController.java b/navalplanner-webapp/src/main/java/org/navalplanner/web/planner/allocation/AdvancedAllocationController.java index 685df5319..76fa55073 100644 --- a/navalplanner-webapp/src/main/java/org/navalplanner/web/planner/allocation/AdvancedAllocationController.java +++ b/navalplanner-webapp/src/main/java/org/navalplanner/web/planner/allocation/AdvancedAllocationController.java @@ -739,16 +739,16 @@ public class AdvancedAllocationController extends GenericForwardComposer { restriction.markInvalidTotalHours(groupingRow, totalHours); } } + for (AllocationInput allocationInput : allocationInputs) { + allocationInput.getResultReceiver().accepted( + allocationInput.getAggregate()); + } try { Messagebox.show(_("Advanced assignment saved"), _("Information"), Messagebox.OK, Messagebox.INFORMATION); } catch (InterruptedException e) { throw new RuntimeException(e); } - for (AllocationInput allocationInput : allocationInputs) { - allocationInput.getResultReceiver().accepted( - allocationInput.getAggregate()); - } } public void onClick$cancelButton() {