IDEMPIERE-369 Master Detail layout improvements. Fixed wrong redraw condition in previous revision.
This commit is contained in:
parent
6c89a97f01
commit
6ea176f61a
|
@ -140,12 +140,10 @@ public class CompositeADTabbox extends AbstractADTabbox
|
|||
detailPane.addEventListener(DetailPane.ON_POST_SELECT_TAB_EVENT, new EventListener<Event>() {
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
if ((!ADTabpanel.isUseSplitViewForForm() && !headerTab.isGridView())
|
||||
|| (detailPane.getSelectedADTabpanel() instanceof ADSortTab)) {
|
||||
if ((!ADTabpanel.isUseSplitViewForForm() && !headerTab.isGridView())) {
|
||||
LayoutUtils.redraw(detailPane);
|
||||
Clients.scrollIntoView(detailPane.getSelectedADTabpanel());
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue