IDEMPIERE-3210: Refresh the header record when save from detail tab and enable/disable save button on detail tab record edit/save.
This commit is contained in:
parent
ebb6605287
commit
a574294e33
|
@ -151,6 +151,7 @@ public class CompositeADTabbox extends AbstractADTabbox
|
|||
showLastError();
|
||||
}
|
||||
tabPanel.getGridTab().dataRefreshAll(true, true);
|
||||
tabPanel.getGridTab().refreshParentTabs();
|
||||
}
|
||||
else if (DetailPane.ON_DELETE_EVENT.equals(event.getName())) {
|
||||
onDelete();
|
||||
|
|
|
@ -710,7 +710,7 @@ public class DetailPane extends Panel implements EventListener<Event>, IdSpace {
|
|||
} else if (BTN_EDIT_ID.equals(btn.getId())) {
|
||||
btn.setDisabled(false);
|
||||
} else if (BTN_SAVE_ID.equals(btn.getId())) {
|
||||
btn.setDisabled(false);
|
||||
btn.setDisabled(!adtab.needSave(true, false));
|
||||
}
|
||||
if (windowRestrictList.contains(btn.getId())) {
|
||||
btn.setVisible(false);
|
||||
|
|
Loading…
Reference in New Issue