No need to call showSelectedAllocations since it's done from the zul page

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
This commit is contained in:
Óscar González Fernández 2010-09-20 21:36:09 +02:00
parent 6e9e8956d3
commit 9f923fd6b3

View file

@ -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() {