Call prepareEditWindow instead of addEditWindowIfNecessary

This is the same that it's done when creating a order and editing a
order.

FEA: ItEr64OTS03PlanificacionHaciaAtras
This commit is contained in:
Óscar González Fernández 2010-12-09 16:46:00 +01:00
parent f9871259ec
commit 1d8ef13533

View file

@ -175,7 +175,7 @@ public class OrderCRUDController extends GenericForwardComposer {
showOrderElementFilter();
showCreateButtons(false);
orderModel.prepareCreationFrom(template);
addEditWindowIfNecessary();
prepareEditWindow();
showEditWindow(_("Create order from Template"));
}