IDEMPIERE-1238.detail edit not commit when next header record.

This commit is contained in:
Heng Sin Low 2013-08-05 01:22:46 +08:00
parent f33e50eb7e
commit a128d9b302
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ public class CompositeADTabbox extends AbstractADTabbox
if (detailTab != null) {
//check data action
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
detailTab.getGridTab().dataRefresh(false);
//keep focus