ItEr58S04ValidacionEProbasFuncionaisItEr57S04: [Bug #462] Fixing bug.

the popup that shows resource allocation is displayed correctly
from the resource load view.
This commit is contained in:
Susana Montes Pedreira 2010-05-18 18:43:15 +02:00 committed by Javier Moran Rua
parent ed3948fa2d
commit d4ca037ac4

View file

@ -121,6 +121,7 @@ public class OrderPlanningController implements Composer {
this.order = order;
this.additional = Arrays.asList(additionalCommands);
if (planner != null) {
ensureIsInPlanningOrderView();
updateConfiguration();
}
}
@ -133,6 +134,10 @@ public class OrderPlanningController implements Composer {
return calendarAllocationController;
}
private void ensureIsInPlanningOrderView() {
viewSwitcher.goToPlanningOrderView();
}
public ViewSwitcher getViewSwitcher() {
return viewSwitcher;
}