IDEMPIERE-4171 DB message on delete is lost
This commit is contained in:
parent
7173b78f68
commit
ea70caa08a
|
@ -3432,7 +3432,7 @@ public class GridTable extends AbstractTableModel
|
|||
e.setInfo(AD_Message, info, isError, !isError);
|
||||
}
|
||||
if (isError)
|
||||
log.saveWarning(AD_Message, info);
|
||||
log.saveError(AD_Message, info);
|
||||
fireDataStatusChanged (e);
|
||||
} // fireDataStatusEvent
|
||||
|
||||
|
|
|
@ -2462,9 +2462,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
if (result)
|
||||
{
|
||||
//error will be catch in the dataStatusChanged event
|
||||
adTabbox.getSelectedGridTab().dataDelete();
|
||||
boolean success = adTabbox.getSelectedGridTab().dataDelete();
|
||||
adTabbox.getSelectedGridTab().dataRefreshAll(true, true);
|
||||
adTabbox.getSelectedGridTab().refreshParentTabs();
|
||||
if (!success)
|
||||
showLastError();
|
||||
|
||||
adTabbox.getSelectedTabpanel().dynamicDisplay(0);
|
||||
focusToActivePanel();
|
||||
|
|
Loading…
Reference in New Issue