ItEr29S06CUAsignacionGrupoRecursosAPlanificacionItEr28S06: Resource allocation window now is closable
This commit is contained in:
parent
58b195fb24
commit
39fac35072
2 changed files with 3 additions and 2 deletions
|
|
@ -141,6 +141,7 @@ public class ResourceAllocationController extends GenericForwardComposer {
|
|||
CalculationTypeRadio calculationTypeRadio = CalculationTypeRadio
|
||||
.from(formBinder.getCalculatedValue());
|
||||
calculationTypeRadio.doTheSelectionOn(calculationTypeSelector);
|
||||
tbResourceAllocation.setSelected(true);
|
||||
Util.reloadBindings(window);
|
||||
try {
|
||||
window.doModal();
|
||||
|
|
@ -288,7 +289,7 @@ public class ResourceAllocationController extends GenericForwardComposer {
|
|||
|
||||
// Triggered when closable button is clicked
|
||||
public void onClose(Event event) {
|
||||
window.setVisible(false);
|
||||
cancel();
|
||||
event.stopPropagation();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
</popup>
|
||||
|
||||
<window id="resourceAllocationWindow" self="@{define(content)}"
|
||||
apply="${allocationController}"
|
||||
apply="${allocationController}" closable="true"
|
||||
title="${i18n:_('Resource allocation')}" width="600px" visible="false">
|
||||
|
||||
<tabbox mold="accordion">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue