Show saving message after the changes have really been done
Otherwise if an exception happens it would tell the user that the allocation has been saved, when in reality it hasn't been saved due to the exception. FEA: ItEr69S04BugFixing
This commit is contained in:
parent
30509aa3d1
commit
be4bc0092f
1 changed files with 4 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue