hg merge release-6.2 (merge release6.2 into default)

This commit is contained in:
Carlos Ruiz 2019-10-19 14:17:55 +02:00
commit 68ccc3842f
2 changed files with 2 additions and 1 deletions

View File

@ -151,6 +151,7 @@ public class CompositeADTabbox extends AbstractADTabbox
showLastError(); showLastError();
} }
tabPanel.getGridTab().dataRefreshAll(true, true); tabPanel.getGridTab().dataRefreshAll(true, true);
tabPanel.getGridTab().refreshParentTabs();
} }
else if (DetailPane.ON_DELETE_EVENT.equals(event.getName())) { else if (DetailPane.ON_DELETE_EVENT.equals(event.getName())) {
onDelete(); onDelete();

View File

@ -710,7 +710,7 @@ public class DetailPane extends Panel implements EventListener<Event>, IdSpace {
} else if (BTN_EDIT_ID.equals(btn.getId())) { } else if (BTN_EDIT_ID.equals(btn.getId())) {
btn.setDisabled(false); btn.setDisabled(false);
} else if (BTN_SAVE_ID.equals(btn.getId())) { } else if (BTN_SAVE_ID.equals(btn.getId())) {
btn.setDisabled(false); btn.setDisabled(!adtab.needSave(true, false));
} }
if (windowRestrictList.contains(btn.getId())) { if (windowRestrictList.contains(btn.getId())) {
btn.setVisible(false); btn.setVisible(false);