IDEMPIERE-1238.detail edit not commit when next header record.
This commit is contained in:
parent
f33e50eb7e
commit
a128d9b302
|
@ -660,7 +660,7 @@ public class CompositeADTabbox extends AbstractADTabbox
|
||||||
if (detailTab != null) {
|
if (detailTab != null) {
|
||||||
//check data action
|
//check data action
|
||||||
String uuid = (String) execution.getAttribute(CompositeADTabbox.class.getName()+".dataAction");
|
String uuid = (String) execution.getAttribute(CompositeADTabbox.class.getName()+".dataAction");
|
||||||
if (uuid != null && uuid.equals(detailTab.getUuid())) {
|
if (uuid != null && uuid.equals(detailTab.getUuid()) && detailTab.getGridTab().isCurrent()) {
|
||||||
//refresh current row
|
//refresh current row
|
||||||
detailTab.getGridTab().dataRefresh(false);
|
detailTab.getGridTab().dataRefresh(false);
|
||||||
//keep focus
|
//keep focus
|
||||||
|
|
Loading…
Reference in New Issue