IDEMPIERE-1248 Performance Optimization: Eliminate the fire and processing of duplicate event. Fixed bad method name.

This commit is contained in:
Heng Sin Low 2013-08-08 00:52:22 +08:00
parent 390c89281c
commit fdee723aef
1 changed files with 3 additions and 3 deletions

View File

@ -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);