IDEMPIERE-1652:message "re-login and re-start" is not show when switch record by click other item in tree
This commit is contained in:
parent
1fadc26564
commit
39c73c6eb7
|
@ -1169,8 +1169,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
|
|||
throw new AdempiereException(Msg.getMsg(Env.getCtx(),"RecordIsNotInCurrentSearch"));
|
||||
}
|
||||
|
||||
// Navigate to node row
|
||||
gridTab.navigate(row);
|
||||
windowPanel.onTreeNavigate(row);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -856,6 +856,23 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
saveAndNavigate(callback);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ToolbarListener#onPrevious()
|
||||
*/
|
||||
public void onTreeNavigate(final int rowIndex)
|
||||
{
|
||||
Callback<Boolean> callback = new Callback<Boolean>() {
|
||||
@Override
|
||||
public void onCallback(Boolean result) {
|
||||
if (result) {
|
||||
adTabbox.getSelectedGridTab().navigate(rowIndex);
|
||||
focusToActivePanel();
|
||||
}
|
||||
}
|
||||
};
|
||||
saveAndNavigate(callback);
|
||||
}
|
||||
|
||||
// Elaine 2008/12/04
|
||||
private Menupopup m_popup = null;
|
||||
private Menuitem m_lock = null;
|
||||
|
|
Loading…
Reference in New Issue