IDEMPIERE-1248 Performance Optimization: Eliminate the fire and processing of duplicate event. Fixed bad method name.
This commit is contained in:
parent
390c89281c
commit
fdee723aef
|
@ -1559,20 +1559,20 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
|
||||
@Override
|
||||
public void onCallback(Boolean result) {
|
||||
afterRefresh(fireEvent);
|
||||
doOnRefresh(fireEvent);
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
afterRefresh(fireEvent);
|
||||
doOnRefresh(fireEvent);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param fireEvent
|
||||
*/
|
||||
protected void afterRefresh(final boolean fireEvent) {
|
||||
protected void doOnRefresh(final boolean fireEvent) {
|
||||
IADTabpanel headerTab = adTabbox.getSelectedTabpanel();
|
||||
IADTabpanel detailTab = adTabbox.getSelectedDetailADTabpanel();
|
||||
adTabbox.getSelectedGridTab().dataRefreshAll(fireEvent, true);
|
||||
|
|
Loading…
Reference in New Issue