IDEMPIERE-369 Master Detail layout improvements. Don't refresh detail if user is editing a new detail record and want to maximize it.
This commit is contained in:
parent
6da6e1c926
commit
3133da1aa0
|
@ -1075,7 +1075,9 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
};
|
||||
Object value = Executions.getCurrent().getAttribute(CompositeADTabbox.AD_TABBOX_ON_EDIT_DETAIL_ATTRIBUTE);
|
||||
if (value != null && value == adTabbox.getSelectedDetailADTabpanel()
|
||||
&& adTabbox.getDirtyADTabpanel() == adTabbox.getSelectedDetailADTabpanel()) {
|
||||
&& (adTabbox.getDirtyADTabpanel() == adTabbox.getSelectedDetailADTabpanel()
|
||||
|| (adTabbox.getDirtyADTabpanel() == null
|
||||
&& adTabbox.getSelectedDetailADTabpanel().getGridTab().isNew()))) {
|
||||
command.onCallback(true);
|
||||
} else {
|
||||
saveAndNavigate(command);
|
||||
|
|
Loading…
Reference in New Issue