Reduce showEditWindow() execution time
FEA: ItEr60S18CambiosPantallaArbolPedido
This commit is contained in:
parent
52afad6393
commit
c8227d5396
1 changed files with 6 additions and 7 deletions
|
|
@ -689,17 +689,17 @@ public class OrderCRUDController extends GenericForwardComposer {
|
|||
clearFilterDates();
|
||||
}
|
||||
|
||||
private void showWindow(Window window) {
|
||||
getVisibility().showOnly(window);
|
||||
Util.reloadBindings(window);
|
||||
}
|
||||
|
||||
public void reloadHoursGroupOrder() {
|
||||
if (getCurrentTab().getId().equals("tabRequirements")) {
|
||||
assignedCriterionRequirementController.reload();
|
||||
}
|
||||
}
|
||||
|
||||
private void showWindow(Window window) {
|
||||
getVisibility().showOnly(window);
|
||||
Util.reloadBindings(window);
|
||||
}
|
||||
|
||||
public void cancel() {
|
||||
goToList();
|
||||
}
|
||||
|
|
@ -815,9 +815,8 @@ public class OrderCRUDController extends GenericForwardComposer {
|
|||
addEditWindow();
|
||||
initializeTabs();
|
||||
editWindow.setTitle(title);
|
||||
showWindow(editWindow);
|
||||
getVisibility().showOnly(editWindow);
|
||||
selectDefaultTab();
|
||||
reloadDefaultTab();
|
||||
loadCustomerComponent();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue