No need to call showSelectedAllocations since it's done from the zul page
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
This commit is contained in:
parent
6e9e8956d3
commit
9f923fd6b3
1 changed files with 0 additions and 16 deletions
|
|
@ -125,22 +125,6 @@ public class NewAllocationSelectorController extends
|
|||
showSelectedAllocations();
|
||||
}
|
||||
});
|
||||
listBoxResources.addEventListener(Events.ON_SELECT,
|
||||
new EventListener() {
|
||||
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
if (currentAllocationType == AllocationType.GENERIC_WORKERS) {
|
||||
// FIXME: Change selection when generic machines
|
||||
// allocation allowed
|
||||
allocationTypeSelector.setSelectedIndex(1);
|
||||
AllocationType type = AllocationType
|
||||
.getSelected(allocationTypeSelector);
|
||||
onType(type);
|
||||
showSelectedAllocations();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private List<? extends Resource> getAllResources() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue