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>() {
|
detailPane.addEventListener(DetailPane.ON_POST_SELECT_TAB_EVENT, new EventListener<Event>() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
if ((!ADTabpanel.isUseSplitViewForForm() && !headerTab.isGridView())
|
if ((!ADTabpanel.isUseSplitViewForForm() && !headerTab.isGridView())) {
|
||||||
|| (detailPane.getSelectedADTabpanel() instanceof ADSortTab)) {
|
|
||||||
LayoutUtils.redraw(detailPane);
|
LayoutUtils.redraw(detailPane);
|
||||||
Clients.scrollIntoView(detailPane.getSelectedADTabpanel());
|
Clients.scrollIntoView(detailPane.getSelectedADTabpanel());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue